Windows PowerShell + VMware Power CLI

s_mueller
s_mueller used Ask the Experts™
on
Hi Folk,

I have a big problem with the VDS cmdlet with VMware Power CLI.
I have installed Windows PowerShell v2.0 and the latest VMware Power CLI. (v4.01 build 208462).
I must "add" the VDS cmdlet but this will not work.
I have followed this procedure:
  http://www.youtube.com/watch?v=DM-r90ZcwuA&feature=player_embedded 

In the attached files you can see the error and the command.
The .dll are correctly installed as we can see in the jpeg file.
Thanks for your help.
 
cmdlet.JPG
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
System Requirements
Requires .NET Framework Version 2.0
Requires WS-Management 1.1 to use remoting features.
Requires .NET Framework 3.0 to use Graphical PowerShell and Out-GridView.

Author

Commented:
I have following installed:
.Net Framework Version 2.0 SP2 + 3.0 SP2 + 3.5 SP1.
WS-Management v1.1.

For info, vi-command is working.
Only the VDS commands are not recognized.
problem solved: edit vim.psc1

<?xml version="1.0" encoding="utf-8"?>
<PSConsoleFile ConsoleSchemaVersion="1.0">
  <PSVersion>1.0</PSVersion>
  <PSSnapIns>
    <PSSnapIn Name="VMware.VimAutomation.Core" />
    <PSSnapIn Name="VMware.VDSAutomation" />      
  </PSSnapIns>
</PSConsoleFile>

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial