PowerShell Script for remote management computers in a domain.
Getch information about local station. Last tested on Windows 10 Enterprise version 21H2.
The script has such things as:
- Active Directory, Remote Desktop and PowerShell as Admin launch,
- Remote shutdown, restart and logout users from the station.
- Information about current station.
- Send remote messages to the station.
- Show the current station storage serial numbers.
- Show running tasks and end choosen one.
You will probably need to change credentials to Domain Administrator of AD.
(If you are already logged in, you don't have to change anything, because script will get it from Windows)And you are ready to go !