Command
Get-GPOZaurrRedirect
Command to detect if GPOs have correct path in SYSVOL, or someone changed it manually.
Syntax
Get-GPOZaurrRedirect [-DateFrom <DateTime>] [-DateProperty <WhenCreated|WhenChanged>] [-DateRange <String>] [-DateTo <DateTime>] [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-IncludeDomains <String[]>] [<CommonParameters>]#Parameter set:
DefaultGet-GPOZaurrRedirect [-DateFrom <DateTime>] [-DateProperty <WhenCreated|WhenChanged>] [-DateRange <String>] [-DateTo <DateTime>] [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-GPOName <String>] [-IncludeDomains <String[]>] [<CommonParameters>]#Parameter set:
GPONameGet-GPOZaurrRedirect [-DateFrom <DateTime>] [-DateProperty <WhenCreated|WhenChanged>] [-DateRange <String>] [-DateTo <DateTime>] [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-GPOGuid <String>] [-IncludeDomains <String[]>] [<CommonParameters>]#Parameter set:
GPOGUIDExamples
EXAMPLE 1
Get-GPOZaurrRedirect | Format-TableParameters
- -DateFrom DateTime
- Provide a date from which to start the search, by default the last X days are used
- -DateProperty String[]
- Choose a date property. It can be WhenCreated or WhenChanged or both. By default whenCreated is used for comparison purposes
- Possible values:
WhenCreated,WhenChanged - -DateRange String
- Provide a date range to search for, by default the last X days are used
- Possible values:
PastHour,CurrentHour,PastDay,CurrentDay,PastMonth,CurrentMonth,PastQuarter,CurrentQuarter,Last14Days,Last21Days,Last30Days,Last7Days,Last3Days,Last1Days - -DateTo DateTime
- Provide a date to which to end the search, by default the last X days are used
- -ExcludeDomains String[]
- Exclude domain from search, by default whole forest is scanned
- -ExtendedForestInformation IDictionary
- Ability to provide Forest Information from another command to speed up processing
- -Forest String
- Target different Forest, by default current forest is used
- -IncludeDomains String[]
- Include only specific domains, by default whole forest is scanned
- -GPOName String
- Provide GPO name to search for. By default command returns all GPOs
- -GPOGuid String
- Provide GPO GUID to search for. By default command returns all GPOs
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.