I\'m running PowerShell in a Windows 7 x64 virtual machine. I have a shared folder on the host mapped as a network drive (Z:). When I run PS normally I can access that drive
In my case, I was able to simply use the UNC path instead of the drive mapping and it worked fine.
So, per your example, instead of using the mapped drive Z:\, I just used "\\vmware-host\Shared Folder" as the path.