By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. In order to install programs remotely, you can use the Invoke-Command cmdlet.I think this guide will help you figure out how to do ithttps://powershellexplained.com/2017-04-22-Powershell-installing-remote-software/ Opens a new window. You could put in a check to verify that the software is installed by reading the registry, or checking for a file that is created upon installation after this if you wanted to. We have a dumb application that we have to use at work. see "setup.exe" start when I run the script from my machine. Press the Security button 6. Notice the differences. Select the Security tab 5. Which ability is most related to insanity: Wisdom, Charisma, Constitution, or Intelligence? If youre upgrading software then I recommend checking the registry key to do a version match instead of verifying that the install path has the programs files. Is it possible to get a list of installed software of a remote computer ? Once again thanks for your time and provided example. THANK YOU, this worked. Create the WinRM Listener and Filter List. Thats pretty much all there is to it. But that setup.exe just sits in processes with no log file written. Using the Invoke-CimMethod cmdlet, you can instruct PowerShell to connect to the remote computer over DCOM and invoke methods. Has the cause of a rocket failure ever been mis-identified, such that another launch failed due to the same problem? #The Install string can have commands aswell Since PowerShell Remoting depends on other systems to run properly, it has a few dependencies. I was assigned a task a few days back to install Opsview on 500+ servers, I am not sure why my manager is after me sighbut the script which I will share a script will help you in a billion ways. Site design / logo 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA. I wrote this because we had a large group of machines that needed the same thing installed and we didnt have authorization to do it any way other than manually (yuk!) On all Windows client operating systems, PSRemoting is always disabled.