full_path
stringlengths
31
232
filename
stringlengths
4
167
content
stringlengths
0
48.3M
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/Certificate/Import-ValentiaCertificate.ps1
Import-ValentiaCertificate.ps1
#Requires -Version 3.0 #-- Helper for certificate --# function Import-ValentiaCertificate { [CmdletBinding()] param ( [parameter(mandatory = $false, position = 0)] [ValidateNotNullOrEmpty()] [string]$CN = $valentia.certificate.CN, [parameter(mandatory...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/Certificate/Import-ValentiaCertificatePFX.ps1
Import-ValentiaCertificatePFX.ps1
#Requires -Version 3.0 #-- Helper for certificate --# function Import-ValentiaCertificatePFX { [CmdletBinding()] param ( [parameter(mandatory = $false, position = 0)] [ValidateNotNullOrEmpty()] [string]$CN = $valentia.certificate.CN, [parameter(mandatory = $f...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/Certificate/Remove-ValentiaCertificatePFX.ps1
Remove-ValentiaCertificatePFX.ps1
#Requires -Version 3.0 #-- Helper for certificate --# function Remove-ValentiaCertificatePFX { [CmdletBinding()] param ( [parameter(mandatory = $false, position = 0)] [ValidateNotNullOrEmpty()] [string]$CN = $valentia.certificate.CN, [parameter(mandatory = $f...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/Encoding/Get-ValentiaFileEncoding.ps1
Get-ValentiaFileEncoding.ps1
#Requires -Version 3.0 #-- Helper Functions --# <# .SYNOPSIS Get encoding from the file your tried to read. .DESCRIPTION You can specify what is the encoding used in the file you want to check. Will return encoding name used in PowerShell, it means you can pass returned value to Get-Content or other. ....
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/CredSSP/Private/Add-ValentiaCredSSPDelegateRegKey.ps1
Add-ValentiaCredSSPDelegateRegKey.ps1
#Requires -Version 3.0 #-- Public Functions for CredSSP Configuration --# function Add-ValentiaCredSSPDelegateRegKey { [CmdletBinding()] param ( [Parameter(Position = 0, mandatory = $false)] [ValidateNotNullOrEmpty()] [string]$Keys = $valentia.credssp.AllowFreshCredentia...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/CredSSP/Private/Get-ValentiaCredSSPDelegateRegKeyProperty.ps1
Get-ValentiaCredSSPDelegateRegKeyProperty.ps1
#Requires -Version 3.0 #-- Public Functions for CredSSP Configuration --# function Get-ValentiaCredSSPDelegateRegKeyProperty { [CmdletBinding()] param ( [Parameter(Position = 0, mandatory = $false)] [ValidateNotNullOrEmpty()] [string]$Keys = $valentia.credssp.AllowFreshC...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/CredSSP/Private/Enable-ValentiaCredSSP.ps1
Enable-ValentiaCredSSP.ps1
#Requires -Version 3.0 #-- Public Functions for CredSSP Configuration --# function Enable-ValentiaCredSSP { [CmdletBinding()] param ( [Parameter(Position = 0, mandatory = $false)] [ValidateNotNullOrEmpty()] [string]$TrustedHosts = $valentia.wsman.TrustedHosts ) ...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/CredSSP/Private/Remove-ValentiaCredSSPDelegateRegKey.ps1
Remove-ValentiaCredSSPDelegateRegKey.ps1
#Requires -Version 3.0 #-- Public Functions for CredSSP Configuration --# function Remove-ValentiaCredSSPDelegateRegKey { [CmdletBinding()] param ( [Parameter(Position = 0, mandatory = $false)] [ValidateNotNullOrEmpty()] [string]$TrustedHosts = $valentia.wsman.TrustedHos...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/CredSSP/Private/Add-ValentiaCredSSPDelegateReg.ps1
Add-ValentiaCredSSPDelegateReg.ps1
#Requires -Version 3.0 #-- Public Functions for CredSSP Configuration --# function Add-ValentiaCredSSPDelegateReg { [CmdletBinding()] param ( [Parameter(Position = 1, mandatory = $false)] [ValidateNotNullOrEmpty()] [string]$Keys = $valentia.credssp.AllowFreshCredentialsW...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/CredSSP/Private/Add-ValentiaCredSSPDelegateRegKeyProperty.ps1
Add-ValentiaCredSSPDelegateRegKeyProperty.ps1
#Requires -Version 3.0 #-- Public Functions for CredSSP Configuration --# function Add-ValentiaCredSSPDelegateRegKeyProperty { [CmdletBinding()] param ( [Parameter(Position = 0, mandatory = $false)] [ValidateNotNullOrEmpty()] [string]$Keys = $valentia.credssp.AllowFreshC...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/CredSSP/Private/Get-ValentiaCredSSPDelegateRegKey.ps1
Get-ValentiaCredSSPDelegateRegKey.ps1
#Requires -Version 3.0 #-- Public Functions for CredSSP Configuration --# function Get-ValentiaCredSSPDelegateRegKey { [CmdletBinding()] param ( [Parameter(Position = 0, mandatory = $false)] [ValidateNotNullOrEmpty()] [string]$Keys = $valentia.credssp.AllowFreshCredentia...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/CredSSP/Private/Get-ValentiaCredSSPDelegateReg.ps1
Get-ValentiaCredSSPDelegateReg.ps1
#Requires -Version 3.0 #-- Public Functions for CredSSP Configuration --# function Get-ValentiaCredSSPDelegateReg { [CmdletBinding()] param ( [Parameter(Position = 0, mandatory = $false)] [ValidateNotNullOrEmpty()] [string]$Keys = $valentia.credssp.AllowFreshCredentialsW...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/Initialize/Initialize-ValentiaEnvironment.ps1
Initialize-ValentiaEnvironment.ps1
#Requires -Version 3.0 #-- Running prerequisite Initialize OS Setting Module Functions --# # Initial <# .SYNOPSIS Initializing valentia PSRemoting environment for Deploy Server and client. .DESCRIPTION Make sure to Run as Admin Priviledge. This function will execute followings. 1. Set-ExecutionPoli...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/IE/Private/Disable-ValentiaEnhancedIESecutiry.ps1
Disable-ValentiaEnhancedIESecutiry.ps1
#Requires -Version 3.0 #-- Prerequisite OS Setting Module Functions --# <# .SYNOPSIS Disable EnhancedIESecutiry for Internet Explorer .DESCRIPTION Change registry to disable EnhancedIESecutiry. It will only work for [Windows Server] not for Workstation, and [Windows Server 2008 R2] and higer. .NOTES A...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/ScheduledTask/Test-ValentiaScheduledTask.ps1
Test-ValentiaScheduledTask.ps1
#Requires -Version 3.0 #-- Scheduler Task Functions --# <# .SYNOPSIS Test is TaskScheduler is same prameter. .DESCRIPTION You can test is scheduled task setting is desired. .NOTES Author: guitarrapc Created: 23/Feb/2015 .EXAMPLE $param = @{ Execute = "powershell.exe" TaskName = "hoge" ...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/ScheduledTask/Set-ValentiaScheduledTask.ps1
Set-ValentiaScheduledTask.ps1
#Requires -Version 3.0 #-- Scheduler Task Functions --# <# .SYNOPSIS Extension to set TaskScheduler and define them as enumerable. .DESCRIPTION You can pass several task scheduler definition at once. .NOTES Author: guitarrapc Created: 11/Aug/2014 .EXAMPLE $param = @{ taskName = "Samp...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/ScheduledTask/Enable-ValentiaScheduledTaskLogSetting.ps1
Enable-ValentiaScheduledTaskLogSetting.ps1
#Requires -Version 3.0 #-- Scheduler Task Functions --# <# .SYNOPSIS Extension to Enable TaskScheduler Log Status .DESCRIPTION You can change TaskScheduler Log to State => Enable Make sure Log affect to all TaskScheduler. .NOTES Author: guitarrapc Created: 19/Sep/2014 .EXAMPLE Enable-ValentiaSch...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/ScheduledTask/Remove-ValentiaScheduledTaskEmptyDirectoryPath.ps1
Remove-ValentiaScheduledTaskEmptyDirectoryPath.ps1
#Requires -Version 3.0 #-- Scheduler Task Functions --# <# .SYNOPSIS Extension to set TaskScheduler and Remove Task folder where Task not exist .DESCRIPTION You can remove task Empty folder. Normal Unregister Cmdlet never erase them and it may cause some issue like TaskScheduler could not name as same as c...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/ScheduledTask/Remove-ValentiaScheduledTask.ps1
Remove-ValentiaScheduledTask.ps1
#Requires -Version 3.0 #-- Scheduler Task Functions --# <# .SYNOPSIS Extension to set TaskScheduler and Unregister Task you selected. .DESCRIPTION You can remove task and Empty folder if desired. .NOTES Author: guitarrapc Created: 24/Sep/2014 .EXAMPLE $param = @{ taskName = "hoge" ...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/ScheduledTask/Disable-ValentiaScheduledTaskLogSetting.ps1
Disable-ValentiaScheduledTaskLogSetting.ps1
#Requires -Version 3.0 #-- Scheduler Task Functions --# <# .SYNOPSIS Extension to Disable TaskScheduler Log Status .DESCRIPTION You can change TaskScheduler Log to State => Enable Make sure Log affect to all TaskScheduler. .NOTES Author: guitarrapc Created: 19/Sep/2014 .EXAMPLE Disable-ValentiaS...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/WsMan/Enable-WsManTrustedHosts.ps1
Enable-WsManTrustedHosts.ps1
#Requires -Version 3.0 #-- Prerequisite OS Setting Module Functions --# <# .SYNOPSIS Enable WsMan Trusted hosts .DESCRIPTION Specify Trustedhosts to allow .NOTES Author: guitarrapc Created: 18/Jul/2013 .EXAMPLE Enable-WsManTrustedHosts -------------------------------------------- allow all hosts...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/WsMan/Set-ValentiaWsManMaxMemoryPerShellMB.ps1
Set-ValentiaWsManMaxMemoryPerShellMB.ps1
#Requires -Version 3.0 #-- Prerequisite OS Setting Module Functions --# <# .SYNOPSIS Set WsMan Max Memory Per user to prevent PowerShell failed with large memory usage. .DESCRIPTION This user is allowed a maximum memory. 0 will be unlimited. Default value : 1024 (Windows Server 2012) .NOTES Author: g...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/WsMan/Set-ValentiaWsManMaxShellsPerUser.ps1
Set-ValentiaWsManMaxShellsPerUser.ps1
#Requires -Version 3.0 #-- Prerequisite OS Setting Module Functions --# <# .SYNOPSIS Set WsMan Max Shells Per user to prevent "The WS-Management service cannot process the request. .DESCRIPTION This user is allowed a maximum number of xx concurrent shells, which has been exceeded." Default value : 25 (Wi...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/WsMan/Set-ValentiaWsManMaxProccessesPerShell.ps1
Set-ValentiaWsManMaxProccessesPerShell.ps1
#Requires -Version 3.0 #-- Prerequisite OS Setting Module Functions --# <# .SYNOPSIS Set WsMan Max Proccesses Per Shell. .DESCRIPTION Unlimit process. Default value : 100 (Windows Server 2012) .NOTES Author: guitarrapc Created: 15/Feb/2014 .EXAMPLE Set-ValentiaWsManMaxProccessesPerShell -MaxProc...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/WsMan/Set-ValetntiaWSManConfiguration.ps1
Set-ValetntiaWSManConfiguration.ps1
#Requires -Version 3.0 #-- Public Functions for WSMan Parameter Configuration --# function Set-ValetntiaWSManConfiguration { [CmdletBinding()] param ( [Parameter(Position = 0, mandatory = $false, HelpMessage = "Configure WSMan MaxShellsPerUser to prevent error 'The WS-Management service c...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/DNS/Get-ValentiaHostEntryAsync.ps1
Get-ValentiaHostEntryAsync.ps1
#Requires -Version 3.0 #-- helper for DNS Entry --# <# .Synopsis Get HostName to IPAddress Entry / IPAddress to HostName Entry .DESCRIPTION using Dns.GetHostEntryAsync Method. You can skip Exception for none exist HostNameOrAddress result by adding -SkipException $true .EXAMPLE Get-HostEntryA...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/PromptForChoice/Show-ValentiaPromptForChoice.ps1
Show-ValentiaPromptForChoice.ps1
#Requires -Version 3.0 # -- helper function -- # <# .SYNOPSIS Show valentia Prompt For Choice description and will return item you passed. .DESCRIPTION You can show choice Description with your favored items. .NOTES Author: guitarrapc Created: 17/Nov/2013 .EXAMPLE Show-ValentiaPromptForChoice ---...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/ComputerName/Get-ValentiaComputerName.ps1
Get-ValentiaComputerName.ps1
#Requires -Version 3.0 function Get-ValentiaComputerName { [CmdletBinding(DefaultParameterSetName = 'Registry')] param ( [parameter(mandatory = $false, Position = 0, ParameterSetName = "Registry")] [switch]$Registry, [parameter(mandatory = $false, Position = 0, Paramete...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/ComputerName/Rename-ValentiaComputerName.ps1
Rename-ValentiaComputerName.ps1
#Requires -Version 3.0 #-- Helper for valentia --# function Rename-ValentiaComputerName { [CmdletBinding(SupportsShouldProcess = $true, ConfirmImpact = 'High')] param ( [parameter(mandatory = $true, Position = 0, ValueFromPipeline = 1, ValueFromPipelineByPropertyName = 1)] [vali...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/Utils/New-ValentiaZpPairs.ps1
New-ValentiaZpPairs.ps1
function New-ValentiaZipPairs { [CmdletBinding()] param ( [parameter(mandatory = $false, Position = 0, ValueFromPipeline = 1, ValueFromPipelineByPropertyName = 1)] [PSObject[]]$first, [parameter(mandatory = $false, Position = 1, ValueFromPipelineByPropertyName = 1)] ...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/Task/Get-ValentiaTask.ps1
Get-ValentiaTask.ps1
#Requires -Version 3.0 #-- Public Module Functions to load Task --# # Task <# .SYNOPSIS Load Task File format into $valentia.context.tasks.$taskname hashtable. .DESCRIPTION Loading ps1 file which format is task <taskname> -Action { <scriptblock> } .NOTES Author: guitarrapc Created: 20/June/2013 ...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Helper/Task/ConvertTo-ValentiaTask.ps1
ConvertTo-ValentiaTask.ps1
#Requires -Version 3.0 #-- Helper Function --# <# .SYNOPSIS Convert PowerShell script to Valentia Task format .DESCRIPTION You can specify "filepath for PowerShell Script" or "scriptBlock". This Cmldet will automatically add "task $taskname -Action {" on top and "}" on bottom. .NOTES Author: guitarrap...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Invokation/Sync/Invoke-ValentiaSync.ps1
Invoke-ValentiaSync.ps1
#Requires -Version 3.0 #-- Public Module Functions for Sync Files or Directories--# # Sync <# .SYNOPSIS Use fastcopy.exe to Sync Folder for Diff folder/files not consider Diff from remote server. .DESCRIPTION You must install fastcopy.exe to use this function. .NOTES Author: gutiarrapc Created: 13/...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Invokation/Download/Invoke-ValentiaDownload.ps1
Invoke-ValentiaDownload.ps1
#Requires -Version 3.0 #-- Public Module Functions for Download Files --# # download <# .SYNOPSIS Use BITS Transfer to downlpad a file from remote server. If -Force switch enable, then use smbmapping and copy -force will run. .DESCRIPTION If target path was directory then download files below path. (No...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Invokation/Upload/Invoke-ValentiaUpload.ps1
Invoke-ValentiaUpload.ps1
#Requires -Version 3.0 #-- Public Module Functions for Upload Files --# # upload <# .SYNOPSIS Use BITS Transfer to upload a file to remote server. .DESCRIPTION This function supports multiple file transfer, if you want to fix file in list then use uploadList function. .NOTES Author: guitarrapc Cr...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Invokation/Upload/Invoke-ValentiaUploadList.ps1
Invoke-ValentiaUploadList.ps1
#Requires -Version 3.0 #-- Public Module Functions for Upload Listed Files --# # uploadL <# .SYNOPSIS Use BITS Transfer to upload list files to remote server. .DESCRIPTION This function only support files listed in csv sat in upload context. Make sure destination path format is not "c:\" but use "c$\" ...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Invokation/Ping/Watch-ValentiaPingAsyncReplyStatus.ps1
Watch-ValentiaPingAsyncReplyStatus.ps1
#Requires -Version 3.0 #-- ping Connection to the host --# # PingAsync <# .SYNOPSIS Monitor host by Ping for selected Second .DESCRIPTION This function will pingasync to the host. You can set Interval seconds and endup limitCount to prevent eternal execution. .NOTES Author: guitarrapc Created: 27/...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Invokation/Ping/Ping-ValentiaGroupAsync.ps1
Ping-ValentiaGroupAsync.ps1
#Requires -Version 3.0 #-- ping Connection to the host --# # PingAsync <# .SYNOPSIS Ping to the host by IP Address Asynchronous .DESCRIPTION This Cmdlet will ping and get reachability to the host. .NOTES Author: guitarrapc Created: 03/Feb/2014 .EXAMPLE Ping-ValentiaGroupAsync production-hoge.ps...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Invokation/CommandExecution/Job/Invoke-Valentia.ps1
Invoke-Valentia.ps1
#Requires -Version 3.0 #-- Public Module Job / Functions for Remote Execution --# # vale <# .SYNOPSIS 1 of invoking valentia by PowerShell Backgroud Job execution to remote host .DESCRIPTION Run Job valentia execution to remote host .NOTES Author: guitarrapc Created: 20/June/2013 .EXAMPLE val...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Invokation/CommandExecution/Job/Private/Receive-ValentiaResult.ps1
Receive-ValentiaResult.ps1
#Requires -Version 3.0 #-- Private Module Job / Functions for Remote Execution --# <# .SYNOPSIS Receives a results of one or more jobs. .DESCRIPTION Get background job execution result. .NOTES Author: guitarrapc Created: 14/Feb/2014 .EXAMPLE Receive-ValentiaResult -listJob $listJob #> function...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Invokation/CommandExecution/Job/Private/Invoke-ValentiaJobProcess.ps1
Invoke-ValentiaJobProcess.ps1
#Requires -Version 3.0 #-- Private Module Job / Functions for Remote Execution --# function Invoke-ValentiaJobProcess { [CmdletBinding()] param ( [parameter(mandatory = $false)] [string[]]$ComputerNames = $valentia.Result.DeployMembers, [parameter(mandatory = $false)] ...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Invokation/CommandExecution/Job/Private/Invoke-ValentiaCommand.ps1
Invoke-ValentiaCommand.ps1
#Requires -Version 3.0 #-- Private Module Job / Functions for Remote Execution --# <# .SYNOPSIS Invoke Command as Job to remote host .DESCRIPTION Background job execution with Invoke-Command. Allowed to run from C# code. .NOTES Author: guitarrapc Created: 20/June/2013 .EXAMPLE Invoke-ValentiaCo...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Invokation/CommandExecution/RunSpacePool/Invoke-ValentiaAsync.ps1
Invoke-ValentiaAsync.ps1
#Requires -Version 3.0 #-- Public Module Asynchronous / Functions for Remote Execution --# # valea <# .SYNOPSIS Run Asynchronous valentia execution to remote host .DESCRIPTION Asynchronous running thread through AsyncPipeLine handling PS Runspace. Allowed to run from C# code. .NOTES Author: guitarr...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Invokation/CommandExecution/RunSpacePool/Private/Invoke-ValentiaRunspaceProcess.ps1
Invoke-ValentiaRunspaceProcess.ps1
#Requires -Version 3.0 #-- Private Module Function for Async execution --# function Invoke-ValentiaRunspaceProcess { [CmdletBinding()] param ( [parameter(mandatory = $false)] [string[]]$ComputerNames = $valentia.Result.DeployMembers, [parameter(mandatory = $false)] ...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Invokation/CommandExecution/RunSpacePool/Private/Receive-ValentiaAsyncStatus.ps1
Receive-ValentiaAsyncStatus.ps1
#Requires -Version 3.0 #-- Private Module Function for Async execution --# <# .SYNOPSIS Receives one or more Asynchronous pipeline State. .DESCRIPTION Asynchronous execution required to check status whether it done or not. .NOTES Author: guitarrapc Created: 13/July/2013 .EXAMPLE $AsyncPipelines ...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Invokation/CommandExecution/RunSpacePool/Private/Receive-ValentiaAsyncResults.ps1
Receive-ValentiaAsyncResults.ps1
#Requires -Version 3.0 #-- Private Module Function for Async execution --# <# .SYNOPSIS Receives a results of one or more asynchronous pipelines. .DESCRIPTION This function receives the results of a pipeline running in a separate runspace. Since it is unknown what exists in the results stream of the pip...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Invokation/CommandExecution/RunSpacePool/Private/Invoke-ValentiaAsyncCommand.ps1
Invoke-ValentiaAsyncCommand.ps1
#Requires -Version 3.0 #-- Private Module Function for Async execution --# <# .SYNOPSIS Creating a PowerShell pipeline then executes a ScriptBlock Asynchronous with Remote Host. .DESCRIPTION Pipeline will execute less overhead then Invoke-Command, Job, or PowerShell Cmdlet. All cmdlet will execute with In...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Invokation/CommandExecution/RunSpacePool/Private/AsyncPipeline/Invoke-ValentiaAsyncPipeline.ps1
Invoke-ValentiaAsyncPipeline.ps1
#Requires -Version 3.0 #-- Private Module Function for AsyncPipelline execution --# function Invoke-ValentiaAsyncPipeline { [CmdletBinding()] param ( [parameter(mandatory = $false)] [scriptBlock]$ScriptBlock, [parameter(mandatory = $true)] [PSCredential]$Crede...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Invokation/CommandExecution/RunSpacePool/Private/AsyncPipeline/Watch-ValentiaAsyncPipelineStatus.ps1
Watch-ValentiaAsyncPipelineStatus.ps1
#Requires -Version 3.0 #-- Private Module Function for AsyncPipelline monitor --# function Watch-ValentiaAsyncPipelineStatus { [Cmdletbinding()] Param ( [Parameter(Position = 0, mandatory = $false, HelpMessage = "An array of Async Pipeline objects, returned by Invoke-ValentiaAsync.")] ...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Invokation/CommandExecution/RunSpacePool/Private/RunSpacePool/Remove-ValentiaRunSpacePool.ps1
Remove-ValentiaRunSpacePool.ps1
#Requires -Version 3.0 #-- Private Module Function for Async execution --# <# .SYNOPSIS Close and Dispose PowerShell Runspace Pool. .DESCRIPTION This function Close runspace pool, then dispose. .NOTES Author: guitarrapc Created: 14/Feb/2014 .EXAMPLE Remove-ValentiaRunspacePool -RunSpacePool $valen...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Functions/Invokation/CommandExecution/RunSpacePool/Private/RunSpacePool/New-ValentiaRunSpacePool.ps1
New-ValentiaRunSpacePool.ps1
#Requires -Version 3.0 #-- Private Module Function for Async execution --# <# .SYNOPSIS Create a PowerShell Runspace Pool. .DESCRIPTION This function returns a runspace pool, a collection of runspaces that PowerShell pipelines can be executed. The number of available pools determines the maximum number of...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Tools/install.ps1
install.ps1
#Requires -Version 2.0 # Windows 7 and later is requires. function Main { [CmdletBinding()] Param ( [string]$Modulepath = (GetModulePath), [bool]$Renew = $false, [switch]$Force = $false, [switch]$Whatif = $false ) $ErrorActionPreference...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Tools/RemoteInstall.ps1
RemoteInstall.ps1
#Required -Version 3.0 function Main { # Uri Write-Debug "Creating GitHub zip uri." $GitHubURI = @{ github = "guitarrapc" repository = "valentia" } $uri = Get-GitHubRepositryURI @GitHubURI # Directory Write-Debug "Checking temp directory is already exist." ...
PowerShellCorpus/PowerShellGallery/valentia/0.5.2.3/Tools/build.ps1
build.ps1
function CombineMultipleFileToSingle ([string]$InputRootPath, [string]$OutputPath, $Encoding) { try { $sb = New-Object System.Text.StringBuilder $sw = New-Object System.IO.StreamWriter ($OutputPath, $false, [System.Text.Encoding]::$Encoding) # Read All functions Get-Chil...
PowerShellCorpus/PowerShellGallery/sitecore-automation/1.3.0.2/sitecore-sites.ps1
sitecore-sites.ps1
# # sitecore_sites.ps1 # function Get-SitecoreSites { [cmdletbinding()] Param( [parameter(ValueFromPipeline)] [ValidateNotNullOrEmpty()] [string[]]$Path ) Process { $colSites = @() $files = Get-ChildItem -Path $Path -Filter *.config forea...
PowerShellCorpus/PowerShellGallery/sitecore-automation/1.3.0.2/sitecore-tests.ps1
sitecore-tests.ps1
# # sitecore_tests.ps1 # Function Test-WebResponse { [cmdletbinding(SupportsShouldProcess=$true)] param( [parameter(Mandatory=$true)] [ValidateNotNullOrEmpty()] [String] $Url, [int] $Timeout = 10000 ) $result = $false $uri = "" $isUrlCorrect = [System.Uri]::Try...
PowerShellCorpus/PowerShellGallery/sitecore-automation/1.3.0.2/sitecore-hosts.ps1
sitecore-hosts.ps1
# # sitecore_hosts.ps1 # function Get-DefaultHosts() { return Join-Path -Path $env:windir -ChildPath '\System32\drivers\etc\hosts' } <# .SYNOPSIS Adds host entry to hosts file. .DESCRIPTION .PARAMETER IpAddress The IP address for host entry. .PARAMETER HostName The hostname for hos...
PowerShellCorpus/PowerShellGallery/sitecore-automation/1.3.0.2/system-email.ps1
system-email.ps1
# # system_email.ps1 # function Get-EmailParameters { return @{ SmtpServer = "" SmtpPort = "" SmtpUsername = "" SmtpPassword = new-object SecureString UseSsl = $false From = "" To = "" Bcc = "" Subject = "" Body = "" } } function Send-Email { <# .Example $params = Ge...
PowerShellCorpus/PowerShellGallery/sitecore-automation/1.3.0.2/sitecore-spe.ps1
sitecore-spe.ps1
# # sitecore_spe.ps1 # function Get-DefaultSpeConfig() { # $AppPath is SPE console variable, see Variables on https://doc.sitecorepowershell.com/interfaces.html if( $AppPath -ne $null ) { return Join-Path -Path $AppPath -ChildPath "App_Config\Include\Cognifide.PowerShell.config" } } ...
PowerShellCorpus/PowerShellGallery/sitecore-automation/1.3.0.2/xml-utils.ps1
xml-utils.ps1
# # xml_utils.ps1 # function New-IISHandler { <# .SYNOPSIS Adds a new entry to the web.config handlers section .EXAMPLE This sample command: New-IISHandler -XmlPath 'C:\web.config' -Name "CaptchaAudio" -Path 'CaptchaAudio.axd' -Type "Sitecore.Form.Core.Pipeline.RequestProcessor.CaptchaReso...
PowerShellCorpus/PowerShellGallery/sitecore-automation/1.3.0.2/system-utils.ps1
system-utils.ps1
# # system_utils.ps1 # #http://www.adminarsenal.com/admin-arsenal-blog/powershell-zip-up-files-using-net-and-add-type/ function Zip-Directory { Param( [Parameter(Mandatory=$True)][string]$DestinationFileName, [Parameter(Mandatory=$True)][string]$SourceDirectory, [Parameter(Mandatory=$False...
PowerShellCorpus/PowerShellGallery/sitecore-automation/1.3.0.2/sitecore-bindings.ps1
sitecore-bindings.ps1
# # sitecore_bindings.ps1 # function Add-Binding($SiteName, $HostHeader ) { $bindings = Get-WebBinding -Name $SiteName if( $bindings.bindingInformation -match $HostHeader ) { Write-Verbose "A binding '$HostHeader' already exist on site '$SiteName'" } else { ...
PowerShellCorpus/PowerShellGallery/sitecore-automation/1.3.0.2/sitecore-csv.ps1
sitecore-csv.ps1
<# .Synopsis Processing Config Enable-Disable Sitecore_8.2-160906_RTM.csv file .DESCRIPTION This function is processing csv file, that contains guideline about enable/disable configuration files on each enviroment. #> function Set-SitecoreEnvironment { [CmdletBinding(SupportsShouldProcess=$true)] p...
PowerShellCorpus/PowerShellGallery/sitecore-automation/1.3.0.2/vs-utils.ps1
vs-utils.ps1
# # vs_utils.ps1 # function Clear-CopyLocal { [CmdletBinding(SupportsShouldProcess=$true)] Param( [Parameter(Mandatory=$true)] [string]$Path ) $excludedList = @( 'Sitecore.*', 'Newtonsoft.*' ) $solutionReferences = @(); dir $path -Recurse *.csproj | ForEach-Object { ...
PowerShellCorpus/PowerShellGallery/sitecore-automation/1.3.0.2/system-credential.ps1
system-credential.ps1
# # system_credential.ps1 # # An array to store credentaials in memory (each object contains key,username,password) [System.Collections.ArrayList]$script:credentialsStore = @() function New-StoredCredential { <# .SYNOPSIS Adds a credentials to the in memory credential store. .DESCRIPTION A user...
PowerShellCorpus/PowerShellGallery/powerworks/0.0.17.55/Public/Test-Port.ps1
Test-Port.ps1
<# .Synopsis This cmdlet will test a given TCP port till the port is open .DESCRIPTION This cmdlet will continously test a given TCP port untill the cmdlet is halted or a connection to the given port is established. This is useful for testing connectivity while configuring firewall rul...
PowerShellCorpus/PowerShellGallery/xSafeHarbor/1.0.0.1/Assert-SafeHarborScenario.ps1
Assert-SafeHarborScenario.ps1
<# .SYNOPSIS This script is used to deploy and validate SafeHarbor example .DESCRIPTION This script allows you to exercise the SafeHarbor example which sets up a secure environment to run a particular application or service inside of an assume-breached network. This substantially reduces the attack surfac...
PowerShellCorpus/PowerShellGallery/xSafeHarbor/1.0.0.1/ConfigurationData/SafeHarborConfigurationData.ps1
SafeHarborConfigurationData.ps1
<# Configuration data for - - DHCP Server - Corporate Domain Controller - Corporate Client - SafeHarbor Domain Controller - SafeHarbor Management Server - SafeHarbor Pull Server - SafeHarbor File Server - Hyper-V Host #> param ([st...
PowerShellCorpus/PowerShellGallery/xSafeHarbor/1.0.0.1/ConfigurationData/VMData/ConfigureFSVM.ps1
ConfigureFSVM.ps1
# Trigger LCM pull using the CIM Method. function TriggerLCMByCallingCimMethod { param([ValidateSet(1,2,3)] [system.uint32]$flag = 1) Invoke-CimMethod -Namespace root/microsoft/windows/desiredstateconfiguration -class MSFT_DSCLocalConfigurationManager -name PerformRequiredConfigurationChecks -arguments @{...
PowerShellCorpus/PowerShellGallery/xSafeHarbor/1.0.0.1/ConfigurationData/VMData/ConfigureVM.ps1
ConfigureVM.ps1
$scriptFolder = Split-Path $script:MyInvocation.MyCommand.Path Configuration VMMetaConfig { Node localhost { LocalConfigurationManager { RebootNodeIfNeeded = "true" CertificateID = "497258FCCFFFA0F38268BBD970B337D25C871D6D" } } } VMMetaConfig -Ou...
PowerShellCorpus/PowerShellGallery/xSafeHarbor/1.0.0.1/ConfigurationData/VMData/Startup.ps1
Startup.ps1
Import-Module $env:SystemDrive\Windows\System32\WindowsPowerShell\v1.0\modules\SmbShare\SmbShare.cdxml Import-Module $PSScriptRoot\ProxyFunctions.psm1 $IRCommands = @("Get-Command","Out-Default","Exit-PSSession","Measure-Object","Select-Object") $allowedCommands = New-Object System.Collections...
PowerShellCorpus/PowerShellGallery/xSafeHarbor/1.0.0.1/ConfigurationData/VMData/ImportCerts.ps1
ImportCerts.ps1
$scriptLocation = $PSScriptRoot $null = [Reflection.Assembly]::Load("System.Security, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=b03f5f7f11d50a3a") $flags = [System.Security.Cryptography.X509Certificates.X509KeyStorageFlags]::MachineKeySet -bor [System.Security.Cryptography.X509Certificates.X509KeyStorageFlag...
PowerShellCorpus/PowerShellGallery/DevOpsFlex.Automation.PowerShell/1.2.4/ResizeASMDisk.ps1
ResizeASMDisk.ps1
function Set-AzureVMOSDiskSize { [CmdletBinding(SupportsShouldProcess=$true)] param ( [Parameter(ValueFromPipeline=$true, Mandatory=$true)] [Microsoft.WindowsAzure.Commands.ServiceManagement.Model.ServiceOperationContext] $VM, [Parameter(Mandatory=$true, Position=0)] ...
PowerShellCorpus/PowerShellGallery/DevOpsFlex.Automation.PowerShell/1.2.4/AzureKeyvaultHelpers.ps1
AzureKeyvaultHelpers.ps1
class EswUser { [string] $Username [securestring] $Password } # Taken from: https://gallery.technet.microsoft.com/scriptcenter/Generate-a-random-and-5c879ed5 function New-SWRandomPassword { <# .Synopsis Generates one or more complex passwords designed to fulfill the requirements for Ac...
PowerShellCorpus/PowerShellGallery/DevOpsFlex.Automation.PowerShell/1.2.4/AzurePrincipalWithSecret.ps1
AzurePrincipalWithSecret.ps1
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "", Scope="Function", Target="*")] param() ########################################################### # New-AzurePrincipalWithSecret ########################################################### function N...
PowerShellCorpus/PowerShellGallery/DevOpsFlex.Automation.PowerShell/1.2.4/AzureSubscriptionInKeyVault.ps1
AzureSubscriptionInKeyVault.ps1
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "", Scope="Function", Target="*")] param() function Get-EnvironmentForResourceName { param( [parameter(Mandatory=$true, Position=0)] [string] $EnvironmentRegex, [parameter(Mandator...
PowerShellCorpus/PowerShellGallery/DevOpsFlex.Automation.PowerShell/1.2.4/AzureProfileHelpers.ps1
AzureProfileHelpers.ps1
function Reset-Alias { <# .SYNOPSIS Creates and alias with replace functionality. .DESCRIPTION Checks if the alias already exists, if it does calls Set-Alias on it, if it doesn't it will create a new alias using New-Alias. Relays the alias scope. .PARAMETER Name Specifies the new alias. You can use any al...
PowerShellCorpus/PowerShellGallery/DevOpsFlex.Automation.PowerShell/1.2.4/AzurePrincipalWithCert.ps1
AzurePrincipalWithCert.ps1
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "", Scope="Function", Target="*")] param() function Set-KeyVaultCertSecret { [CmdletBinding()] param ( [parameter(Mandatory=$true)] [string] $CertFolderPath, [parameter(M...
PowerShellCorpus/PowerShellGallery/DevOpsFlex.Automation.PowerShell/1.2.4/AzureADHelpers.ps1
AzureADHelpers.ps1
########################################################### # Get-MyUserObjectId ########################################################### function Get-MyUserObjectId { [CmdletBinding()] param() $user = (Get-AzureRmContext).Account $adUser = Get-AzureRmADUser | where { $_.UserPrincipalNam...
PowerShellCorpus/PowerShellGallery/DevOpsFlex.Automation.PowerShell/1.2.4/AzureVNetHelpers.ps1
AzureVNetHelpers.ps1
class vNet { [string] $Name [string] $AddressSpace [string] $Type [string] $Subscription } function Get-AzureAllVNets { <# .SYNOPSIS Help method to list all ASM and ARM VNets across all subscriptions that the account has access to. .DESCRIPTION Help method to list all ASM and ARM VNets ...
PowerShellCorpus/PowerShellGallery/AzureRM.Profile.NetCore.Preview/0.3.4/AzureRmProfileStartup.ps1
AzureRmProfileStartup.ps1
# # # SIG # Begin signature block # MIIdkgYJKoZIhvcNAQcCoIIdgzCCHX8CAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB # gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR # AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUt+/HvWqAtZ9Eq1tg0kkt5i2E # hFSgghhkMIIEwzCCA6ugAwIBAgITMwAAAJ1CaO4xHNdWvQAAAAAAnTANBgkqhkiG # 9w0BAQUFA...
PowerShellCorpus/PowerShellGallery/ADSchema/0.0.3/tests/ADSchemaClass.tests.ps1
ADSchemaClass.tests.ps1
Describe "ADSchema Class Functions" { Context "Get-ADSchemaClass" { It "exists as a function in the module" { (Get-Command Get-ADSchemaClass).count | should be 1 } It "returns a schema object - test uses user class" { (Get-ADSchemaClass -Class 'User').Oi...
PowerShellCorpus/PowerShellGallery/ADSchema/0.0.3/tests/ADSchemaAttribute.tests.ps1
ADSchemaAttribute.tests.ps1
Describe "ADSchema Attribute Functions" { Context "Get-ADSchemaAttribute" { It "exists as a function in the module" { (Get-Command Get-ADSchemaAttribute).count | should be 1 } It "returns a schema object - test use CN Attribute" { (Get-ADSchemaAttribute -c...
PowerShellCorpus/PowerShellGallery/ADSchema/0.0.3/tests/ADSchemaModule.tests.ps1
ADSchemaModule.tests.ps1
Describe "ADSchema Class Functions" { Context "Help for functions" { foreach ($command in Get-Command -Module ADSchema) { It "$command has examples in the help" { $help = get-help -Full $command $help.examples.example | should not be $null } }...
PowerShellCorpus/PowerShellGallery/ADSchema/0.0.3/scripts/Add-ADSchemaAttributeToClass.ps1
Add-ADSchemaAttributeToClass.ps1
<# .SYNOPSIS Adds an attribute to a class. .DESCRIPTION Add a New Custom Class to an existing Structural Class in Active Directory. For example if you want to add attributes to the User Class: 1. Create a new Auxiliary Class. 2. Add Attributes to that new Auxiliary Class. 3. Assi...
PowerShellCorpus/PowerShellGallery/ADSchema/0.0.3/scripts/New-ADSchemaClass.ps1
New-ADSchemaClass.ps1
<# .SYNOPSIS Create a new class in the Active Directory Schema .DESCRIPTION New-ADSchemaClass will add a new class to the AD Schema. The majority of the time, any new classes will likely be an Auxiliary Class. It is a best practice to create an auxiliary class and add it as an auxliary class to ...
PowerShellCorpus/PowerShellGallery/ADSchema/0.0.3/scripts/New-ADSchemaAttribute.ps1
New-ADSchemaAttribute.ps1
<# .SYNOPSIS Create a new attribute in the Active Directory Schema .DESCRIPTION New-ADSchemaAttribute will add a new attribute to the AD Schema. Once the new attribute is created, you will need to add it to a class. AD Schema best practices suggest that you: 1) Create a new Auxiliary Class. ...
PowerShellCorpus/PowerShellGallery/ADSchema/0.0.3/scripts/Invoke-ADSchemaReload.ps1
Invoke-ADSchemaReload.ps1
<# .SYNOPSIS Reloads the Active Directory Schema .DESCRIPTION After the schema has been updated, it needs to be reloaded so your updates can be seen immediately. .EXAMPLE PS C:\> Invoke-ADSchemaReload #> Function Invoke-ADSchemaReload { $dse = Get-ADRootDSE $dse.schemaUpdateNow = $t...
PowerShellCorpus/PowerShellGallery/ADSchema/0.0.3/scripts/New-ADSchemaTestOID.ps1
New-ADSchemaTestOID.ps1
<# .SYNOPSIS Creates a random OID for dev and test purposes. .DESCRIPTION Creates a random Object Identifier for dev and test purposes. For production uses, use an OID with your company OID prefix and Private Enterprise Number. See help about_adschema for more information. .EXAMPLE PS> N...
PowerShellCorpus/PowerShellGallery/ADSchema/0.0.3/scripts/Add-ADSchemaAuxiliaryClassToClass.ps1
Add-ADSchemaAuxiliaryClassToClass.ps1
<# .SYNOPSIS Adds an Auxiliary Class to a Structural Class. .DESCRIPTION Add a new Custom Class to an existing Structural Class in Active Directory. For example if you want to add attributes to the user class, you should: 1) Create a new Auxiliary Class. 2) Add attributes to tha...
PowerShellCorpus/PowerShellGallery/ADSchema/0.0.3/scripts/Get-ADSchemaClass.ps1
Get-ADSchemaClass.ps1
<# .SYNOPSIS Gets classes in an AD Schema .DESCRIPTION Use this function to list or search for existing classes in the Active Directory Schema .PARAMETER Class The name of the class you want to search for. Supports wildcards .EXAMPLE Get-ADSchemaClass -Name User .EXAMPLE Get-ADSchemaC...
PowerShellCorpus/PowerShellGallery/ADSchema/0.0.3/scripts/Get-ADSchemaAttribute.ps1
Get-ADSchemaAttribute.ps1
<# .Synopsis Gets attributes in an AD Schema .DESCRIPTION Gets attributes in an AD Schema .EXAMPLE Get-ADSchemaAttribute -class User -Attribute c* .EXAMPLE Get-ADSchemaAttribute -class asTestClass -attribute asFavoriteColor #> Function Get-ADSchemaAttribute { param( [Parame...
PowerShellCorpus/PowerShellGallery/Okta.Core.Automation/0.3.0.0/chocolatey/ChocolateyUninstall_New.ps1
ChocolateyUninstall_New.ps1
function Chocolatey-Uninstall { param( [string] $packageName, [string] $version = '', [string] $installerArguments = '' ) Write-Debug "Running 'Chocolatey-Uninstall' for $packageName with version:`'$version`', installerArguments: `'$installerArguments`'"; if(!$packageName) { Write-ChocolateyFail...
PowerShellCorpus/PowerShellGallery/Okta.Core.Automation/0.3.0.0/chocolatey/ChocolateyUninstall.ps1
ChocolateyUninstall.ps1
$packageName = 'Okta.Core.Automation' $folder = "$($Home)\Documents\WindowsPowerShell\Modules\$($packageName)" Remove-Item "$($folder)" -recurse -force
PowerShellCorpus/PowerShellGallery/Okta.Core.Automation/0.3.0.0/chocolatey/ChocolateyInstall.ps1
ChocolateyInstall.ps1
# install Okta.Core.Automation -source '%cd%' $packageName = 'Okta.Core.Automation' $folder = "$($Home)\Documents\WindowsPowerShell\Modules\$($packageName)" $scriptPath = split-path -parent $MyInvocation.MyCommand.Definition Set-Location $scriptPath # http://andyarismendi.blogspot.com/2012/02/unblocking-file...
PowerShellCorpus/PowerShellGallery/AzureRM.profile/2.5.0/AzureRmProfileStartup.ps1
AzureRmProfileStartup.ps1
# ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apach...
PowerShellCorpus/PowerShellGallery/AzureRM.profile/3.1.0/AzureRmProfileStartup.ps1
AzureRmProfileStartup.ps1
# ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apach...
PowerShellCorpus/PowerShellGallery/AzureRM.profile/1.0.4.3/AzureRmProfileStartup.ps1
AzureRmProfileStartup.ps1
# ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apach...
PowerShellCorpus/PowerShellGallery/AzureRM.profile/1.0.4.3/CheckVersions.ps1
CheckVersions.ps1
$AzureRMModules = @( "AzureRM.ApiManagement"; "AzureRM.Automation"; "AzureRM.Backup"; "AzureRM.Batch"; "AzureRM.Compute"; "AzureRM.DataFactories"; "AzureRM.Dns"; "AzureRM.HDInsight"; "AzureRM.Intune"; "AzureRM.KeyVault"; "AzureRM.Network"; "AzureRM.OperationalInsights"; "AzureRM.R...
PowerShellCorpus/PowerShellGallery/AzureRM.profile/2.8.0/AzureRmProfileStartup.ps1
AzureRmProfileStartup.ps1
# ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apach...