This PowerShell script by Hosteons allows you to:
- Change the default RDP port on your Windows server
- Enable RDP if it is disabled
- Configure Windows Firewall to allow the new RDP port
- Restart the RDP service automatically
⚠️ Use with caution! Ensure you have console/VNC/IPMI access before applying changes.
- Run the script as Administrator.
- Enter a new RDP port (between 1025 and 65535).
- The script will apply changes and restart RDP service.
MIT License