You should be able to grab the VMware powershell snap-ins download from the Vmware site.
These are just a bunch of files.
run $env:psmodulepath to see a list of paths you can place the modules.
Typically i use
C:\Windows\system32\WindowsPowerShell\v1.0\Modules
Then copy these on the machine you want to run CLI into the folder.
the import the modules required
Import-Module VMware.VimAutomation.Core
No comments:
Post a Comment