@@ -14,7 +14,7 @@ Set-Location -Path ".\AzureStack-Tools-master\CanaryValidator" -PassThru
1414
1515# To execute Canary as Tenant Administrator (if Windows Server 2016 or Windows Server 2012-R2 images are already present in the PIR)
1616``` powershell
17- # Install-Module AzureRM -RequiredVersion 1.2.8 -Force
17+ # Install-Module AzureRM -RequiredVersion 1.2.8 -Scope CurrentUser
1818# Install-Module AzureStack
1919$TenantAdminCreds = New-Object System.Management.Automation.PSCredential "<Tenant Admin username>", (ConvertTo-SecureString "<Tenant Admin password>" -AsPlainText -Force)
2020$ServiceAdminCreds = New-Object System.Management.Automation.PSCredential "<Service Admin username>", (ConvertTo-SecureString "<Service Admin password>" -AsPlainText -Force)
@@ -24,7 +24,7 @@ $ServiceAdminCreds = New-Object System.Management.Automation.PSCredential "<Ser
2424# To execute Canary as Tenant Administrator (if Windows Server 2016 or Windows Server 2012-R2 images are not present in PIR)
2525``` powershell
2626# Download the WS2016 ISO image from: https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2016, and place it on your local machine
27- # Install-Module AzureRM -RequiredVersion 1.2.8 -Force
27+ # Install-Module AzureRM -RequiredVersion 1.2.8 -Scope CurrentUser
2828# Install-Module AzureStack
2929$TenantAdminCreds = New-Object System.Management.Automation.PSCredential "<Tenant Admin username>", (ConvertTo-SecureString "<Tenant Admin password>" -AsPlainText -Force)
3030$ServiceAdminCreds = New-Object System.Management.Automation.PSCredential "<Service Admin username>", (ConvertTo-SecureString "<Service Admin password>" -AsPlainText -Force)
@@ -33,7 +33,7 @@ $ServiceAdminCreds = New-Object System.Management.Automation.PSCredential "<Ser
3333
3434# To execute Canary as Service Administrator
3535``` powershell
36- # Install-Module AzureRM -RequiredVersion 1.2.8 -Force
36+ # Install-Module AzureRM -RequiredVersion 1.2.8 -Scope CurrentUser
3737# Install-Module AzureStack
3838$ServiceAdminCreds = New-Object System.Management.Automation.PSCredential "<Service Admin username>", (ConvertTo-SecureString "<Service Admin password>" -AsPlainText -Force)
3939.\Canary.Tests.ps1 -TenantID "<TenantID from Azure Active Directory>" -AdminArmEndpoint "<Administrative ARM endpoint>" -ServiceAdminCredentials $ServiceAdminCreds -WindowsISOPath "<path where the WS2016 ISO is present>"
0 commit comments