A bot that modifies firewall rules on a Windows Machine to grant access to a specific service using Discord API as the control mechanism.
Initial Release 1.0f
Function Versions replaceLine : v1.0d Out-Report : v1.0a Write-Log : v1.0a Prompt-User : v1.0a Get-DSK : v1.0d Get-FTP : v1.0b Get-RDP : v1.0a Get-VNC : v1.0a Get-Version : v1.0d Test-Command : v1.0c Check-DSK : v1.0b Prepare-Config : v1.0e Get-FirewallRule : v1.0a Simple-Split : v1.0a Setup-Firewall-FTPPort : v1.0a Setup-Firewall-RDPPort : v1.0a Setup-Firewall-VNCPort : v1.0a Set-Firewall : v1.0e Reboot-Server : v1.0d
Tested on Windows 11 Pro
DSK_PS : v1.0f Windows : Microsoft Windows 10.0.22000 PowerShell : 7.2.5 npm : 8.5.1 node : v17.6.0
Dependencies Windows 10 or 11 PowerShell 7.2.5 node-red-contrib-discord-advanced v3.2.4
Installation Script to follow at some point.