I have a script to run a ps1 file using powershell ise on my local machine. & 'C:\Users\medetrax\Documents\Visual Studio 2013\Projects\Ward Obs Roaming\Ward Obs Roaming\AppPackages\Ward Obs Roaming_2.4.2.34_AnyCPU_Test\Add-AppDevPackage.ps1'
However I have now put that ps1 file on my server and wish to access it from powershell using shared folders. What script would I use in powershell for this
\\MEDEPADSERVER\Users\Public\app_folder\Ward Obs Roaming_2.4.2.34_AnyCPU_Test
I have tried net use \\MEDEPADSERVER\Users\Public\app_folder\Ward Obs Roaming_2.4.2.34_AnyCPU_Test
but I get network path errors so does anyone know of any scripts?