grafana docker

This commit is contained in:
2026-03-09 16:21:48 +01:00
parent dfd31c3db2
commit ea43b5cb6c
4 changed files with 118 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
# Az összes GPO végigfésülése az "SMTP" kulcsszóra
Get-GPO -All | ForEach-Object {
$report = Get-GPOReport -Guid $_.Id -ReportType Xml
if ($report -like "*SMTP*") {
Write-Host "Találat: $($_.DisplayName)" -ForegroundColor Green
}
}

View File

@@ -1,4 +1,4 @@
# 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
New-NetFirewallRule -Name "SNMP" -DisplayName "Allow SNMP" -Protocol UDP -LocalPort 161 -Action Allow -Direction Inbound -RemoteAddress 10.102.1.201 -Profile Domain