API Reference
Remove-GPOZaurrWMI
Removes Group Policy WMI filters based on specified criteria.
Remarks
This function removes WMI filters based on the provided GUIDs or names within the specified forest or domains. It retrieves WMI filters associated with the GPOs and removes them.
Examples
EXAMPLE 1
PS >
Remove-GPOZaurrWMI -Guid "12345678-1234-1234-1234-123456789012"
Description ----------- Removes the WMI filter with the specified GUID.
EXAMPLE 2
PS >
Remove-GPOZaurrWMI -Name "TestWMIFilter"
Description ----------- Removes the WMI filter with the specified name.
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.
Syntax
Remove-GPOZaurrWMI [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-Guid <Guid[]>] [-IncludeDomains <String[]>] [-Name <String[]>] [<CommonParameters>]
#
All Parameter SetsParameters
- ExcludeDomains String[]
- Specifies an array of domains to exclude from the removal process.
- ExtendedForestInformation IDictionary
- Specifies additional information about the forest.
- Forest String
- Specifies the forest name where the WMI filters are located.
- Guid Guid[]
- Specifies an array of GUIDs of the WMI filters to be removed.
- IncludeDomains String[]
- Specifies an array of domains to include in the removal process.
- Name String[]
- Specifies an array of names of the WMI filters to be removed.