File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ This can be run directly from PowerCLI or from a standard PowerShell prompt. Pow
3636Supports:
3737-FlashArray //X, //C, //XL
3838-vCenter 7.0U3 and later
39- -PowerCLI VMware PowerCLI 13.3 Build 24145081 or later required
39+ -PowerCLI VMware PowerCLI 13.3 or later required
4040
4141#>
4242
@@ -165,11 +165,14 @@ $PowerCLIVersion = Get-Module -Name VMware.PowerCLI -ListAvailable | Select-Obje
165165
166166# If the PowerCLI Version is not v13 or higher, recommend that the user install PowerCLI 13 or higher
167167If ($PowerCLIVersion.Version.Major -ge " 13" ) {
168- Write-Host " PowerCLI version 13 or higher present, " - NoNewLine
169- Write-Host " proceeding" - ForegroundColor Green
168+ if ($PowerCLIVersion.Version.Minor -ge " 3" ) {
169+ Write-Host " PowerCLI version 13.3 or higher present, " - NoNewLine
170+ Write-Host " proceeding" - ForegroundColor Green
171+ }
172+
170173} else {
171- Write-Host " PowerCLI version could not be determined or is less than version 13" - Foregroundcolor Red
172- Write-Host " Please install PowerCLI 13 or higher and rerun this script" - Foregroundcolor Yellow
174+ Write-Host " PowerCLI version could not be determined or is less than version 13.3 " - Foregroundcolor Red
175+ Write-Host " Please install PowerCLI 13.3 or higher and rerun this script" - Foregroundcolor Yellow
173176 Write-Host " "
174177 exit
175178}
You can’t perform that action at this time.
0 commit comments