@@ -82,7 +82,7 @@ Follow these steps to set up the Environment Checker on a server node of your Az
82
82
1 . Install the Environment Checker on the server. Run the following PowerShell command from the PSGallery:
83
83
84
84
``` powershell
85
- Install-Module -Name AzStackHci.EnvironmentChecker -allowclobber
85
+ Install-Module -Name AzStackHci.EnvironmentChecker -AllowClobber
86
86
```
87
87
88
88
### Run the validation
@@ -98,7 +98,7 @@ Follow these steps to set up the Environment Checker on a server node of your Az
98
98
1 . To validate other servers in the cluster, run the following PowerShell command:
99
99
100
100
``` powershell
101
- $PsSession=New-Pssession -computername "MyRemoteMachine"
101
+ $PsSession=New-Pssession -ComputerName "MyRemoteMachine"
102
102
Invoke-AzStackHciUpgradeValidation -PsSession $PsSession
103
103
```
104
104
@@ -159,7 +159,7 @@ $windowsFeature = @(
159
159
)
160
160
foreach ($feature in $windowsFeature)
161
161
{
162
- install-windowsfeature -name $feature -IncludeAllSubFeature -IncludeManagementTools
162
+ Install-WindowsFeature -Name $feature -IncludeAllSubFeature -IncludeManagementTools
163
163
}
164
164
165
165
#Install requires optional Windows features
@@ -223,7 +223,7 @@ $windowsOptionalFeature = @(
223
223
)
224
224
foreach ($featureName in $windowsOptionalFeature)
225
225
{
226
- enable-windowsoptionalfeature -featurename $featurename -all -online
226
+ Enable-WindowsOptionalFeature -FeatureName $featurename -All -Online
227
227
}
228
228
```
229
229
@@ -234,7 +234,7 @@ Ensure that all the cluster members are up and that the cluster is *Online*. Use
234
234
To verify all members of the cluster are online, run the following PowerShell command:
235
235
236
236
``` powershell
237
- Get-ClusterNode -cluster "mycluster"
237
+ Get-ClusterNode -Cluster "mycluster"
238
238
```
239
239
240
240
## Remediation 3: Suspend BitLocker
@@ -295,7 +295,7 @@ Follow these steps to confirm the storage pool configuration:
295
295
1 . To confirm the storage pool size and allocated size, run the following PowerShell command:
296
296
297
297
``` powershell
298
- Get-storagepool -IsPrimordial $false
298
+ Get-StoragePool -IsPrimordial $false
299
299
```
300
300
301
301
<details >
@@ -310,7 +310,7 @@ Follow these steps to confirm the storage pool configuration:
310
310
1 . To list all volumes in the storage pool, run the following PowerShell command:
311
311
312
312
``` powershell
313
- Get-storagepool -IsPrimordial $false| Get-VirtualDisk
313
+ Get-StoragePool -IsPrimordial $false | Get-VirtualDisk
314
314
```
315
315
316
316
<details >
@@ -341,10 +341,10 @@ Follow these steps to confirm the storage pool configuration:
341
341
1 . To convert the volume to thin provisioned, run the following PowerShell command:
342
342
343
343
``` powershell
344
- Set-virtualdisk -FriendlyName TestVolume -ProvisioningType Thin
344
+ Set-VirtualDisk -FriendlyName TestVolume -ProvisioningType Thin
345
345
```
346
346
347
- 1 . To convert the volume to thin provisioned , run the following PowerShell command. Make sure you adjust the CSV name to match your system:
347
+ 1 . To finish the convertion, the volume must be restarted. To do this , run the following PowerShell command. Make sure you adjust the CSV name to match your system:
348
348
349
349
``` powershell
350
350
Get-ClusterSharedVolume -Name "Cluster Disk 1" | Stop-ClusterResource
@@ -362,7 +362,7 @@ Follow these steps to confirm the storage pool configuration:
362
362
363
363
| FriendlyName | ResiliencySettingName | FaultDomainRedundancy | OperationalStatus | HealthStatus | Size | FootprintOnPool | StorageEfficiency |
364
364
| --------------| -----------------------| -----------------------| ------------------| --------------| ------| -----------------| ------------------|
365
- | ClusterPerformanceHistory | Mirror | 1 | OK | Healthy | 21 GB | 43 GB | 48.84% |
365
+ | ClusterPerformanceHistory | Mirror | 1 | OK | Healthy | 21 GB | 43 GB | 48.84% |
366
366
| TestVolume | Mirror | 0 | OK | Healthy | 1 TB | 36.5 GB | 98.63% |
367
367
| TestVolume2 | Mirror | 0 | OK | Healthy | 750 GB | 28.5 GB | 98.25% |
368
368
@@ -404,7 +404,7 @@ Make sure that the cluster functional level and storage pool version are up to d
404
404
$SubscriptionId = "Your Subscription ID"
405
405
Login-AzAccount –UseDeviceAuthentication –tenantid $tenantid –subscriptionid $SubscriptionId
406
406
Install-module az.connectedmachine
407
- New-AzConnectedMachineExtension -Name "AzureEdgeLifecycleManager" -ResourceGroupName $ResourceGroup -MachineName $env:COMPUTERNAME -Location $Region -Publisher "Microsoft.AzureStack.Orchestration" -ExtensionType "LcmController" -NoWait
407
+ New-AzConnectedMachineExtension -Name "AzureEdgeLifecycleManager" -ResourceGroupName $ResourceGroup -MachineName $env:COMPUTERNAME -Location $Region -Publisher "Microsoft.AzureStack.Orchestration" -ExtensionType "LcmController" -NoWait
408
408
```
409
409
410
410
## Remediation 10: Check the MOC install state
0 commit comments