Zsoldier
Expert
Expert

That will usually occur when the Snapin hasn't been initialized.

Try running this:

Add-PSsnapin VMware.VimAutomation.Core

Then run the get-vicommand cmdlet.

Chris Nakagaki (中垣浩一)
Blog: https://tech.zsoldier.com
Twitter: @zsoldier
Reply
0 Kudos