
Powershell에서 이 코드 조각을 실행하면 다음과 같습니다.
net use \\$computerName\c$\ $adminPW /user:$adminUN /Persistent:No
나는 얻다:
System error 53 has occurred.
The network path was not found.
그러나 다음을 실행하면:
net use \\$computerName\c$\subfolder $adminPW /user:$adminUN /Persistent:No
존재한다고 가정하면 성공적으로 실행됩니다 subfolder
. 왜 이런 일이 발생합니까? 내에 폴더를 생성하기 위해 이 코드를 실행하고 있습니다 c$
. 대체 방법이 있을까요?