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 webadmin2receive 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.
[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
Windows Server > Windows PowerShell
Comments
Post a Comment