Hi all,
I am a bit of a powershell noob and I am trying to install an application on a pc using invoke command but the UNC path does not seem to register.
My command is as follows;
Invoke-Command –ComputerName pc_name_01 –ScriptBlock {Start-Process application.msi -WorkingDirectory genericserversoftwareappfolder}
I keep getting the directory not found exception however the dir exists. Any help would be greatly appreciated.
submitted by /u/EastKarana
[link] [comments]
The post Invoke-Command using -WorkingDirectory help appeared first on How to Code .NET.