5 lines
319 B
PowerShell
5 lines
319 B
PowerShell
# SNMP An auf Windows Server
|
|
Install-WindowsFeature -Name "SNMP-Service" -IncludeAllSubFeature -IncludeManagementTools
|
|
# Firewall für SNMP Dienst öffnen
|
|
New-NetFirewallRule -Name "SNMP" -DisplayName "Allow SNMP" -Protocol UDP -LocalPort 161 -Action Allow -Direction Inbound -RemoteAddress 10.102.1.59 -Profile Domain
|