Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
param (
[Parameter()][switch]$WhatIf,
[Parameter()][switch]$Test,
[Parameter()][switch]$Force,
[Parameter()][securestring]$mySecretValue
)
$ARGS = @{
ResourceGroupName = $ResourceGroupName
TemplateFile = $TemplateFile
TemplateParameterFile = $TemplateParameterFile
Mode = 'Incremental'
Verbose = $true
ErrorAction = 'Stop'
mySecretParameterName = $mySecretValue
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment