Hello.
This script creates a txt file with the next information:
- GPOName
- LinksTo
- Enabled
- NoOverride
- CreatedDate
- ModifiedDate
Script:
$names=get-gpo -all
$output= foreach ($name in $names) {
get-gpolink -name $name.DisplayName
}
$output | out-file C:\temp\GpoandLinks.txt
No hay comentarios:
Publicar un comentario