API Reference
Command
Set-ADXGpoWmiFilter
Updates an existing GPO WMI filter.
Examples
Example 1
Set-ADXGpoWmiFilter -Domain contoso.com -Name 'ServersOnly' -Query "SELECT * FROM Win32_OperatingSystem WHERE ProductType<>1"
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
Set-ADXGpoWmiFilter -Domain <string> -Name <string> -Query <string> [-Namespace <string>] [<CommonParameters>]#Parameters
- Domain string
- DNS domain name where the filter resides.
- Name string
- WMI filter display name.
- Query string
- WQL query to apply.
- Namespace string
- WMI namespace (default: root\CIMv2).
Outputs
ADPlayground.Gpo.GpoWmiFilter