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
@daveho5392 Please provide the error you were getting or the output of $global:DefaultVIServers | Select-Object -ExpandProperty Version. 7 by itself seems like it would pick up other non-7.0 versions like 6.7 or 8.0.7 potentially and versions like that.
Describe the bug
The verify vCenter version kept failing for me when written as:
If(($global:DefaultVIServers | Select-Object -ExpandProperty Version).contains("7.0"))
I had to change it to:
If(($global:DefaultVIServers | Select-Object -ExpandProperty Version).contains("7"))
Reproduction steps
...
Expected behavior
My environment is the following:
vCenter 7.0u3l
PowerCLI 12.7
Powershell 5.1.x
vmware.vsphere.ssoadmin 1.3.9
Additional context
I need to revert vCenter to 7.0u3j. I'll see if I still see this issue.
The text was updated successfully, but these errors were encountered: