Analizar GPO (en remoto y local)
Local
https://www.jesusninoc.com/05/12/view-group-policy-objects/
1 2 3 4 5 6 7 8 |
$resulta = gpresult /z foreach($lineas in $resulta) { if($lineas -match "CMD") { $lineas } } |
Remoto
1 |
Get-GPO -All | %{ $_ | Get-GPOReport -ReportType XML | Select-String "Impedir el acceso al símbolo del sistema" } |