I don't see the picture for some reason. Do you have PowerShell 2 CTP2 installed? It won't work with CTP1 and unfortunately both versions are still available for download last I checked.
Here's the text of the error:
PS C:\Program Files\VMware\Infrastructure\VIToolkitForWindows> add-module viTool
Add-Module : The specified module 'viToolkitExtensions.psm1' was not loaded bec
ause the module source file was not found in any package directory,
At line:1 char:11
+ add-module <<<< viToolkitExtensions.psm1
PS C:\Program Files\VMware\Infrastructure\VIToolkitForWindows>
Yes I have PowerShell CTP2 V2 and the VI Toolkit for Windows installed.
The main page: http://www.codeplex.com/vitoolkitextensions
[PowerShell MVP|https://mvp.support.microsoft.com/profile=5547F213-A069-45F8-B5D1-17E5BD3F362F], VI Toolkit forum moderator
Author of the upcoming book: Managing VMware Infrastructure with PowerShell
Co-Host, PowerScripting Podcast (http://powerscripting.net)
I had the same problem , and LucD hit the nail on the head..
Systems Administrator & Virtualization Architect
I am having similar issues using the CTP2 version of powershell. However, I am having 2 issues.
1) when I "Initialize-VIToolkitEnvironment.ps1", powershell takes the script but does not apply the alias like get-vicommand, get-vc, etc.
2 when I run the add-module command using the full path of the viToolkitExtensions.psm1, I get the same error as everyone above.
"The specified module 'viToolkitExtensions.psm1' was not loaded because the module source file was not found in any package directory,"
I have tried several different version of viToolkitExtensions.
(42783, 43828, and 45422).
From version 45318 onwards you need CTP3 (and Import-Module) to use the Extensions.
Can you check the package path (in CTP2)
And eventually try storing the .psm1 file in one of those directories and then try the Add-Module again.
As background info on modules have a look at this blog of Huddled Masses