diff --git a/Scenarios/AzSHCI and Deployment tool/LabConfig.ps1 b/Scenarios/AzSHCI and Deployment tool/LabConfig.ps1 index 819e912f..f38a674b 100644 --- a/Scenarios/AzSHCI and Deployment tool/LabConfig.ps1 +++ b/Scenarios/AzSHCI and Deployment tool/LabConfig.ps1 @@ -1,4 +1,4 @@ -$LabConfig=@{AllowedVLANs="1-10,711-719" ; DomainAdminName='LabAdmin'; AdminPassword='LS1setup!' ; DCEdition='4'; Internet=$true; TelemetryLevel='Full' ; TelemetryNickname='' ; AdditionalNetworksConfig=@(); VMs=@(); CustomDnsForwarders="10.8.8.8","10.7.7.7"} +$LabConfig=@{AllowedVLANs="1-10,711-719" ; DomainAdminName='LabAdmin'; AdminPassword='LS1setup!' ; DCEdition='4'; Internet=$true; TelemetryLevel='Full' ; TelemetryNickname='' ; AdditionalNetworksConfig=@(); VMs=@()} #Azure Stack HCI 22H2 #labconfig will not domain join VMs, will add "Tools disk" and will also execute powershell command to make this tools disk online. diff --git a/Scenarios/AzSHCI and Deployment tool/Scenario.ps1 b/Scenarios/AzSHCI and Deployment tool/Scenario.ps1 index 156d0272..9281aa71 100644 --- a/Scenarios/AzSHCI and Deployment tool/Scenario.ps1 +++ b/Scenarios/AzSHCI and Deployment tool/Scenario.ps1 @@ -31,7 +31,7 @@ #region Deploy - run from ASNode1! #make D drives online - $Servers="ASNode2","ASNode3","ASNode4" + $Servers="ASNode1","ASNode2","ASNode3","ASNode4" #add $Servers into trustedhosts Set-Item WSMan:\localhost\Client\TrustedHosts -Value $($Servers -join ',') -Force #invoke command @@ -284,9 +284,9 @@ $Content | Out-File -FilePath d:\config.json #endregion #region Validate deployment - run from management VM! -$StagingNode="ASNode1" +$SeedNode="ASNode1" -Invoke-Command -ComputerName $StagingNode -ScriptBlock { +Invoke-Command -ComputerName $SeedNode -ScriptBlock { ([xml](Get-Content C:\ecestore\efb61d70-47ed-8f44-5d63-bed6adc0fb0f\086a22e3-ef1a-7b3a-dc9d-f407953b0f84)) | Select-Xml -XPath "//Action/Steps/Step" | ForEach-Object { $_.Node } | Select-Object FullStepIndex, Status, Name, StartTimeUtc, EndTimeUtc, @{Name="Durration";Expression={new-timespan -Start $_.StartTimeUtc -End $_.EndTimeUtc } } | ft -AutoSize } #endregion \ No newline at end of file