Update set-drs.ps1
This commit is contained in:
@@ -17,5 +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
|
||||||
|
|
||||||
|
|
||||||
Disconnect-VIServer -Server $VCENTERHOST -Force –Confirm:$false
|
Disconnect-VIServer -Server $VCENTERHOST -Force –Confirm:$false
|
||||||
Reference in New Issue
Block a user