Hi , when I run below commands with PowerCLI6.0 version, I always hit "Index was outside the bounds of the array" issue, can anyone help me about this issue? from the help, I do not find any wrong parameters or options.
Are you connected to the vCenter or an ESXi node ?
Seems to work for me when connected to a vCenter, and when I use a non-existing policy, the cmdlet nicely tells me.
In what environment are you doing this ?
I used vSphere 6 and PowerCLI 6R1
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
powershell version is 4.0
A wild shot, but which regional settings are you using ?
Can you do a Get-Culture ?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Yes, this cmdlet is OK as below:
And from the web client you can see the storage profiles without an issue ?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
If you mean the VC GUI page, yes , I created lots of VSP and they are OK without any issues.