When working on a file share simple commands fail with Cannot find path error message.
Steps to reproduce
cd \\someactual\fileshare\path
ls
rm *.zip
cd ..\another_path
Expected behavior
Changes working directory to file share path.
Lists the contents of the directory.
Removes any .zip file
Changes directory to another path on the share.
Actual behavior
Changes working directory to file share path.
ls : Cannot find path '\someactual\fileshare\path' because it does not exist.
At line:1 char:1
+ ls
+ ~~
+ CategoryInfo : ObjectNotFound: (\amcd12f02\devgp\releases\1.dev:String) [Get-ChildItem], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand
Same Cannot find path error for all commands.
Environment data
> $PSVersionTable
Name Value
---- -----
PSVersion 6.0.0-beta
PSEdition Core
GitCommitId v6.0.0-beta.7
OS Microsoft Windows 6.1.7601 S
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
When working on a file share simple commands fail with Cannot find path error message.
Steps to reproduce
cd \\someactual\fileshare\path ls rm *.zip cd ..\another_pathExpected behavior
Actual behavior
Environment data