I'm using VirtualBox with a shared folder mapped to drive E:. I want to run a PowerShell script from drive E:. I set:
Set-ExecutionPolicy Remotesigned
I added file://vboxserver using the advanced dialog to the local intranet.
When I load "E:\System_Data_SQLClient_test.ps1" into PowerShell ISE I get:
File E:\System_Data_SQLClient_test.ps1 cannot be loaded. The file E:\System_Data_SQLClient_test.ps1 is not digitally signed. The script will not execute on the system. Please see "get-help about_signing" for more details.
At line:0 char:0
When I use the UNC path to the shared folder it works:
\\VBOXSVR\WSV-BK-7en64-C\System_Data_SQLClient_test.ps1
What is missing here to be able to access the script via drive letter?
