Solved: Access & Map Drive to Shared Folders on Mac from Windows VM in Powershell

August 6, 2015


I have folders on my Mac I access from my Windows VMs. (For example, I don’t want things like Dropbox mirrors duplicated into my VM).

VMWare Fusion’s instructions on how to share files are easy enough:

VMWare Fusion Folder Sharing Instructions

The Problem:

I want to access the mapped z:\ drive from PowerShell.

Attempt 1: FAIL

> cd z:\

Hrm. Ok, What does it say Z is mapped to?


Attempt 2: FAIL

> cd \\vmware-host

Hrm. I wonder if this is important? (spoiler alert: It IS important =)


SUCCESS! Part 1:

> cd “\\vmware-host\Shared Folders”

…but then WHY can’t I cd z:\, if it was mapped? YAY TWITTER:

Yay, Twitter!


> New-PSDrive -Name s -PSProvider FileSystem -Root “\\vmware-host\Shared Folders” -Persist

Thank you, @dustinvenegas, for helping this PowerShell n00b (me) to get this working!

I hope this post helps others who run into the same challenge :)

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: