Configuring Endpoints (Import-Module WebAdministration) problem


hello.

i have created endpoint imports webadministration module:

new-pssessionconfigurationfile –modulestoimport webadministration –languagemode ‘fulllanguage’ –sessiontype ‘restrictedremoteserver’ –path ‘c:\webadmin.pssc’

i have no problems registering endpoint.  however, when try connect endpoint using following command:

enter-pssession -computername ussrv001 -configurationname webadmin2
receive following message:

cannot find drive. drive name 'function' not exist.
cannot find path 'c:\windows\system32' because not exist.
cannot find path 'c:\windows\system32' because not exist.

interestingly, when configure endpoint imports activedirectory module, have no problem.  but when configure endpoint imports webadministration module, errors listed above.

does know why have error messages?

thank you.


have tried running test-pssessionconfigurationfile on config file?

[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

WIMMount (HSM) causing cluster storage to go redirected (2012r2 DC)

Failed to delete the test record dcdiag-test-record in zone test.com

Azure MFA with Azure AD and RDS