2 Replies Latest reply on Oct 8, 2019 7:17 AM by jvm2016

    running script on multiple windows servers from managment box_powershell

    jvm2016 Expert

      Hi Luc ,

       

      just thought of sumarizing the steps we need to perform to facilitate executing .ps1 script to multiple windows machines.

       

      this is what i can recall please suggest if we need to add more to it .

       

       

      1:winrm on remote servers is running

      2:also one of the ports 5985 or 5986 is open

      use following syntax

       

       

      3:Invoke-Command -ComputerName Server01, Server02 -FilePath c:\Scripts\sample.ps1