Get-GPO -All | %{ if ( $_ | Get-GPOReport -ReportType XML | Select-String -NotMatch "" ){ Write-Host $_.DisplayName "| Utilizada" } else { Write-Host $_.DisplayName "| No utilizada" } }
Obtener GPOs (objetos de directiva de grupo) que no se están utilizando (PowerShell)
Except where otherwise noted, Jesusninoc by Jesús N. is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.