Update set-drs.ps1

This commit is contained in:
voltron committed 2024-01-25 08:35:21 -06:00
1 parent b32c6b2e53
commit 8a6b0e5257
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@ $cluster_ID= Get-Cluster -Name "iDS-Cluster"
$_this = Get-View -Id $cluster_ID.Id $_this = Get-View -Id $cluster_ID.Id
$_this.ReconfigureComputeResource_Task($spec, $true) $_this.ReconfigureComputeResource_Task($spec, $true)
Get-Cluster -Name "iDS-Cluster" | Get-DrsRecommendation | Invoke-DrsRecommendation Get-Cluster -Name "iDS-Cluster" | Get-DrsRecommendation -Refresh | Invoke-DrsRecommendation
Disconnect-VIServer -Server $VCENTERHOST -Force –Confirm:$false Disconnect-VIServer -Server $VCENTERHOST -Force –Confirm:$false