Add nchBranch variable
This commit is contained in:
Родитель
0dc370766c
Коммит
67bdec1f0b
|
@ -53,9 +53,9 @@ param
|
|||
[string] $nchBranch = ""
|
||||
)
|
||||
|
||||
$verbosePreference = "SilentlyContinue"
|
||||
$warningPreference = 'Continue'
|
||||
$errorActionPreference = 'Stop'
|
||||
$verbosePreference = "SilentlyContinue"
|
||||
$warningPreference = 'Continue'
|
||||
$errorActionPreference = 'Stop'
|
||||
|
||||
function Get-VariableDeclaration([string]$name) {
|
||||
$var = Get-Variable -Name $name
|
||||
|
@ -144,6 +144,7 @@ if (Test-Path $settingsScript) {
|
|||
Get-VariableDeclaration -name "RequestToken" | Add-Content $settingsScript
|
||||
Get-VariableDeclaration -name "CreateStorageQueue" | Add-Content $settingsScript
|
||||
Get-VariableDeclaration -name "AddTraefik" | Add-Content $settingsScript
|
||||
Get-VariableDeclaration -name "nchBranch" | Add-Content $settingsScript
|
||||
|
||||
$passwordKey = New-Object Byte[] 16
|
||||
[Security.Cryptography.RNGCryptoServiceProvider]::Create().GetBytes($passwordKey)
|
||||
|
|
Загрузка…
Ссылка в новой задаче