The user has appropriate permissions to read the share, and the share maps properly. This issue seems to happen only in PowerShell v2.0.
If I remove all mapped drive
For me the only way to fix it was to use the full UNC, rather than the share name.
So instead of \\server\share
I used \\server\c$\sharedir
.
Another issue I ran into was when using Import-Module sqlps
, I had to make sure to CD
back into the file system and then the PowerShell commands worked normally.