Powershell – Execute a local script on Remote Server
Below is the command to execute the script on remote servers Reference: https://theitbros.com/run-powershell-script-on-remote-computer/ -- if script is in local drive Invoke-Command -FilePath c:\ps\tune.ps1 -ComputerName server1,server2,server3 -- i...
May 20, 20251 min read
