내가 Enter-PSSession성공적으로 할 수있는 원격 컴퓨터가 있습니다 . 내가 실행할 때 :
New-PSDrive -Name "G" -PSProvider Filesystem -Root '\\fileserver\apps\etc'
다음과 같은 오류가 발생합니다.
New-PSDrive : Drive root "\\fileserver\apps\etc" does not exist or it's not a folder.
+ CategoryInfo : ReadError: (G:PSDriveInfo) [New-PSDrive], IOException
+ FullyQualifiedErrorId : DriveRootError,Microsoft.PowerShell.Commands.NewPSDriveCommand
이제 로컬 컴퓨터와 원격 컴퓨터에도 마운트되어 있기 때문에 위치가 존재합니다. Powershell을 통해 네트워크 드라이브를 마운트하기 전에 이전에 마운트 Get-PSDrive되었는지 확인했습니다. 정상적인 것은 아닙니다.
PSSession에있을 때 네트워크 드라이브를 마운트하는 방법이 있습니까?