So, this shortcut for a standard powershell works with a UNC path (the same as Opus does basically):
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "cd '\\xxx.xxx.xxx.xxx\Backup\ShadowProtect\server1'"
If I then go to the advanced properties of that shortcut and tick 'Run as administrator', it launches the elevated powershell, but the shell has the following error:
cd : Cannot find path '\\xxx.xxx.xxx.xxx\Backup\ShadowProtect\server1' because it does not exist.
At line:1 char:1
+ cd '\\xxx.xxx.xxx.xxx\Backup\ShadowProtect\server1'
**+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~**
** + CategoryInfo : ObjectNotFound: (\\xxx.xxx.xxx.xxx\Bac...1682-server-001:String) [Set-Location], ItemNotFoundE**
** xception**
** + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand**
I'm not sure why it works in the standard context and not in an elevated context. I'll do some googling and see if I can find anything.
EDIT:
So, if I just open two PS's, one elevated and one standard and run this command:
cd "\\xxx.xxx.xxx.xxx\Backup\ShadowProtect\server1"
The standard shell will CD happily to the UNC path, but the elevated one throws an error saying the path couldn't be found...?
Looks like an issue unique to my system, if you have any thoughts they would be appreciated, but it doesn't look like this is an Opus issue. Cheers.