PSCredential error importing module

Topics: User Forum
Nov 2, 2012 at 12:07 AM

When i run the import-module pscx command I get the following error:

Import-Module : Unable to find type [PSCredential]: make sure that the assembly containing this type is loaded.
At line:1 char:1
+ Import-Module Pscx
+ ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (PSCredential:TypeName) [Import-Module], RuntimeException
    + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

 

I am importing the version 3.  I can import the module when I put in the full path.