가져 오기 모듈 ConfigurationManager.psd1 비 관리자 사용자로 원격 컴퓨터에서 CD를 SCCM 사이트 폴더로 실행하려고합니다. 그러나 나는 다음과 같은 오류를 gettting 오전 :Powershell cd sitecode가 작동하지 않습니다.
PS C:\windows\system32> Enter-PSSession -ComputerName somecomputer -Credential Sccm\u6
[somecomputer]: PS C:\Users\u6\Documents> Import-Module ConfigurationManager.psd1
[somecomputer]: PS C:\Users\u6\Documents> cd 1SA:
cd : Cannot find drive. A drive with the name '1SA' does not exist.
+ CategoryInfo : ObjectNotFound: (1SA:String) [Set-Location], DriveNotFoundException
+ FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
나는이 링크를 주어진 문서에 따라이 문제를 해결 얻을 수 있습니다 : http://benef-it.blogspot.in/2013/04/solve-ps-drive-problem-with-sccm2012.html
하지만 어떻게 프로그래밍 파워 쉘 내에서이 작업을 수행 할 수 있습니까?
미안 삼상 :, 삼상은 SCCM의 사이트 코드는 CD이었다 잘못된 명령을 붙여 넣습니다. – Prabhat
그럼 C : \ Users \ u6 \ Documents \ 1SA에 넣으려고하는 경로는 무엇입니까? ? C : \ Users \ u6 \ Documents \ 1SA :? 존재합니까? –
그래, 내가 대답으로 올린 해결책이있어. 사실 1SA : 생성 된 CMSite에 해당하는 전원 쉘에서 구동됩니다. 그것은 대답에 주어진 명령을 사용하여 사용할 수 없었습니다 그것은 지금 만들 수 있으며 액세스 할 수 있습니다. – Prabhat