Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

SMBShare PSSessionConfoguration Error

$
0
0

Hi,

I'm trying to create a PS endpoint for the use of the SMBShare module. I create the PSSessionConfigurationFile and register it seccessfully, but when I try to enter a session using this config, I get this error that the C drive doesn't exist:

Enter-PSSession : One or more errors occurred processing the module 'smbshare' specified in the InitialSessionState object used to create this runspace. See the ErrorRecords property for a 
complete list of errors. The first error was: Cannot find drive. A drive with the name 'C' does not exist.
At line:1 char:1
+ Enter-PSSession -ComputerName igep -ConfigurationName netadapter
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (:) [Enter-PSSession], RunspaceOpenModuleLoadException
    + FullyQualifiedErrorId : ErrorLoadingModulesOnRunspaceOpen

Pretty interesting.


Viewing all articles
Browse latest Browse all 13067

Trending Articles