Get AzVMPublicIPInsecurePorts
Skript Beschreibung
**Zusammenfassung**: Scans VMs with Public IPs for open management ports (RDP/SSH) to the internet.
Iterates all VMs with Public IPs.
Checks the effective Network Security Group (NSG) rules.
Flags if port 3389 (RDP) or 22 (SSH) allows access from 'Any' or 'Internet'.
Skript Infos
Autor
Mattia Cirillo
Version
1.0
Sprache
PowerShell
127_Get-AzVMPublicIPInsecurePorts.ps1