You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while ($counter-ne$retries) {
if (Test-vSphereAuthentication-server $vcfVcenterDetails.fqdn-user $vcfVcenterDetails.ssoAdmin-pass $vcfVcenterDetails.ssoAdminPass) {
$vclsPoweredOn= (Get-VM-Location $clusterNameExtra|Where-Object { $_.name-match"vCLS" } |Measure-Object).Count
if ($vclsPoweredOn-gt0) {
Write-PowerManagementLogMessage-Type INFO -Message "Some vCLS virtual machines are still running. Sleeping for $sleepTime seconds until the next check..."Start-Sleep-s $sleepTimeBreak
}
}
}
Additionally, it's termed as powered on, but the powerstate is not requested in the Where-Object. Should it be more like:
Additionally, it's termed as powered on, but the powerstate is not requested in the Where-Object. Should it be more like:
Another option is to change the scope to focus on the VMs in the "vCLS" folder instead of all VMs in the inventory that have a string match.
Originally posted by @tenthirtyam in #107 (comment)
The text was updated successfully, but these errors were encountered: