Running PowerShell scripts from a fileshare

Since I wrote it I’ve started using Parallels and stopped having my powershell scripts in a fileshare. But the information is usefull none the less.

I set up my Mac with running all my .Net development in a VirtualBox environment. I share my source-code directory to the guest OS in VirtualBox using VirtualBox’s own file shares.

This way I can have all my source-code in one location.

Working with code in a file-share has its own challanges. Recentlly I had issues with running PowerShell scripts from the directory. It turns out I had to add the vboxsrv (name of the host os in VirtualBox) to Internet Explorers Trusted sites.

I followed these instructions and now atleast powershell works on the fileshare.