This commit is contained in:
2024-01-31 08:50:31 -06:00
parent 07c6e44c3b
commit 5fbc07347a
5 changed files with 33 additions and 32 deletions

View File

@@ -5,7 +5,7 @@ Write-Progress -Activity "Connecting to vCenter [$VCENTERHOST] ..." -PercentComp
Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null
Write-Progress -Activity "Connected! Setting the new DRS Max vCPU ..." -PercentComplete 70
Write-Progress -Activity "Connected! Setting the new DRS Max vCPU ..." -PercentComplete ${PRI_WIDTH}
$spec = New-Object VMware.Vim.ClusterConfigSpecEx
$spec.DrsConfig = New-Object VMware.Vim.ClusterDrsConfigInfo