script to install software

mohammad ofeshat 1 Reputation point
2021-08-02T01:06:54.207+00:00

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 for business Windows Server User experience PowerShell
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2021-08-02T07:29:52.24+00:00

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.