@@ -59,8 +59,7 @@ param (
5959 [ValidateNotNullOrEmpty ()]
6060 [string ]$EnvironmentName = " AzureStackCanaryCloud" ,
6161 [parameter (HelpMessage = " Resource group under which all the utilities need to be placed" )]
62- [Parameter (ParameterSetName = " default" , Mandatory = $false )]
63- [Parameter (ParameterSetName = " tenant" , Mandatory = $false )]
62+ [Parameter (ParameterSetName = " default" , Mandatory = $false )] [Parameter (ParameterSetName = " tenant" , Mandatory = $false )]
6463 [ValidateNotNullOrEmpty ()]
6564 [string ]$CanaryUtilitiesRG = " canur" + [Random ]::new().Next(1 , 999 ),
6665 [parameter (HelpMessage = " Resource group under which the virtual machines need to be placed" )]
@@ -91,7 +90,7 @@ param (
9190 [Parameter (ParameterSetName = " default" , Mandatory = $false )]
9291 [Parameter (ParameterSetName = " tenant" , Mandatory = $false )]
9392 [ValidateNotNullOrEmpty ()]
94- [string ]$CanaryLogPath = $env: TMP + " \CanaryLogs$ ( (Get-Date ).ToString( " -yyMMdd-hhmmss " ) ) " ,
93+ [string ]$CanaryLogPath = $env: TMP + " \CanaryLogs$ ( (Get-Date ).Ticks ) " ,
9594 [parameter (HelpMessage = " Specifies the file name for canary log file" )]
9695 [Parameter (ParameterSetName = " default" , Mandatory = $false )]
9796 [Parameter (ParameterSetName = " tenant" , Mandatory = $false )]
@@ -113,7 +112,7 @@ $keyvaultCertName = "ASCanaryVMCertificate"
113112$kvSecretName = $keyvaultName.ToLowerInvariant () + " secret"
114113$VMAdminUserName = " CanaryAdmin"
115114$VMAdminUserPass = " CanaryAdmin@123"
116- $canaryUtilPath = Join-Path - Path $env: TEMP - ChildPath " CanaryUtilities$ ( (Get-Date ).ToString( " -yyMMdd-hhmmss " ) ) "
115+ $canaryUtilPath = Join-Path - Path $env: TEMP - ChildPath " CanaryUtilities$ ( (Get-Date ).Ticks ) "
117116$linuxImagePublisher = " Canonical"
118117$linuxImageOffer = " UbuntuServer"
119118$linuxImageVersion = " 1.0.0"
0 commit comments