# Remove-GPOZaurrWMI

Removes Group Policy WMI filters based on specified criteria.

Project

GPOZaurr

GPOZaurr helps inspect, report on, and remediate Group Policy environments with PowerShell.

[View on GitHub](https://github.com/EvotecIT/GPOZaurr) [Visit Website](#) [Releases](https://github.com/EvotecIT/GPOZaurr/releases/tag/v1.1.10) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/GPOZaurr/1.1.9)

Stars **1,257**

Forks **121**

Open issues **15**

PowerShell Gallery downloads **421,558**

Release **v1.1.11**

Language: PowerShell Updated: 2026-10-30

Command 

**Module**

`GPOZaurr`

Removes Group Policy WMI filters based on specified criteria.

## Syntax

```
Remove-GPOZaurrWMI
[[-ExcludeDomains] <String[]>]
[[-ExtendedForestInformation] <IDictionary>]
[[-Forest] <String>]
[[-Guid] <Guid[]>]
[[-IncludeDomains] <String[]>]
[[-Name] <String[]>]
[<CommonParameters>]
```

[#](#method-remove-gpozaurrwmi-string-idictionary-string-guid-string-string)

Parameter set: `All Parameter Sets`

## Description

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

```powershell
Remove-GPOZaurrWMI -Guid "12345678-1234-1234-1234-123456789012"
```

Description ----------- Removes the WMI filter with the specified GUID.

### Example 2

```powershell
Remove-GPOZaurrWMI -Name "TestWMIFilter"
```

Description ----------- Removes the WMI filter with the specified name.

## Parameters

**-ExcludeDomains String[] optionalposition: 3**

Specifies an array of domains to exclude from the removal process.

**-ExtendedForestInformation IDictionary optionalposition: 5**

Specifies additional information about the forest.

**-Forest String optionalposition: 2aliases: ForestName**

Specifies the forest name where the WMI filters are located.

**-Guid Guid[] optionalposition: 0**

Specifies an array of GUIDs of the WMI filters to be removed.

**-IncludeDomains String[] optionalposition: 4aliases: Domain, Domains**

Specifies an array of domains to include in the removal process.

**-Name String[] optionalposition: 1**

Specifies an array of names of the WMI filters to be removed.

## 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:B5690E4C5754FE6B3588D7C6400340C9A0C2429B94BD8BBF6A6F821AA9296EAF -->
