How to get instalkled toolkit version
Is the snapin loaded ? Do
Get-PSSnapin
If it is loaded you can do
Get-Command -PSSnapIn VMware.VimAutomation.Core | Where-Object {$_.Name -eq "Connect-VIServer"}
to check if the command is recognised.
Btw, does Get-VIToolkitVersion return anything ?
Just noticed you only have the problem in PowerGui.
That seems to indicate the snapin is not loaded.
Can you check your PS profile ?
I have it in my profile.ps1
Add-PSSnapin VMware.VimAutomation.Core
together with a few other snapins.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Get-VIToolkitVersion
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I have just installed vi toolkit on adiffrent box and it does nor regnoeci the Connect VIServer command ????
It works fime from the VI toolkit console ..but not when usingh powerQUI
Is the snapin loaded ? Do
Get-PSSnapin
If it is loaded you can do
Get-Command -PSSnapIn VMware.VimAutomation.Core | Where-Object {$_.Name -eq "Connect-VIServer"}
to check if the command is recognised.
Btw, does Get-VIToolkitVersion return anything ?
Just noticed you only have the problem in PowerGui.
That seems to indicate the snapin is not loaded.
Can you check your PS profile ?
I have it in my profile.ps1
Add-PSSnapin VMware.VimAutomation.Core
together with a few other snapins.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Cheers LuCD .. need to add the snap in......