question

73960643 avatar image
0 Votes"
73960643 asked IanXue-MSFT answered

script to install software

hello
I do have 30 Virtual machine, with same domain controller, and i have patch files folder, almost 40 patch files. ( and .EXE ) , how can i Install 40 Patches, in all my Virtual machines Automatically please.
Thank you in Advance!

windows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

IanXue-MSFT avatar image
0 Votes"
IanXue-MSFT answered

Hi,

You can install software on remote computers using the Invoke-Command cmdlet,

This link can be helpful.
https://powershellexplained.com/2017-04-22-Powershell-installing-remote-software/
Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.