Hello,
We do patching using a tool but sometimes patches do not install and we need to RDC to a server then double click the .exe/.msu patch file to get it to install. How can we utilize PowerShell 3.0 to remotely connect to a server then direct it to install a particular .exe/.msu file? I am thinking: enter-pssession -computername %servername% to connect but am not sure how exactly once in to get it via Powershell to run an .exe/.msu file. If there are patch files Q123456.exe and Q654321.msu located in C:\Windows\Patches folder on remote computer how would you use PowerShell 3.0 client to remotely install those patches and save the trouble of having to RDP to the server and manually double click those?
Thanks!
Matt