PowerShell Commander which can execute commands from a central server on several Active Directory machines at the same time via WinRM.
So for example admins don't have to restart the monitoring client on each of the monitored servers manually.
These instructions will guide you through the setup of WinRM Commander on your local Server.
To use WinRM Commander you need to ensure that the following prerequisites are met:
- The Server running the WinRM Script needs to be in an Active Directory
- The User executing the script on the server needs to have Domain Administrator Privileges
- The target Server/Machines needs to have WinRM enabled (take also care of your network configurations e.g. firewall policies)
Download a copy of WinRM-Commander.ps1 on a server in your domain. Add your scripts to ./src/scripts/ to be able to execute them on serveral servers.
Just execute the WinRM-Commander.ps1 PowerShell script on a server which mets the recommendations above.
You will be guided through the Tool via wizard.
To add custom scripts or commands place them in the /source/scripts directory as .txt files.
See the same folder for examples.
This project is licensed under the MIT License - see the LICENSE file for details