My Powershell script:
New-PSDrive -Name J -Root \\\\myserver\\mypath -PSProvider FileSystem "test" | Out-File J:\\test.txt Get-Content -Path J:\\tes