LucD
Leadership
Leadership

It seems you have already a vCenter connection open when you run the script.

The prompt comes from the Connect-VIServer cmdlet in the script.

The script will run, but all the information will come from all the connected vCenters, since the script doesn't seem to use the Server parameter on all the Get- cmdlets.

I think it would be better to close all vCenter connections when you run the script


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos