Right now I need to open the VI Toolkit console to use the vm cmdlets.
If I try to call any of them from within powershell, the cmdlets are unrecognized. How do I register them within powershell so I don't have to use the VI Toolkit console?
You can use
Add-PSSnapin -Name "VMware.VimAutomation.Core"
Best is to place this in one of the profile files, that way it will be loaded automatically when you start PS.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
You can use
Add-PSSnapin -Name "VMware.VimAutomation.Core"
Best is to place this in one of the profile files, that way it will be loaded automatically when you start PS.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Silly me, just needed to register the correct snapin it looks like.
add-pssnapin -Name "VMware.VimAutomation.Core"
Edit: thanks just realized that