< Back

Export-GptWmiFilter

Tue Jan 14, 2020 12:11 am

NAME Export-GptWmiFilter



SYNOPSIS

Export WMI Filters.





SYNTAX

Export-GptWmiFilter [-Path] <String> [[-Name] <String>] [[-GpoObject] <Object>] [[-Domain] <String>]

[<CommonParameters>]





DESCRIPTION

Export WMI Filters.

WMI Filters to export are picked up by the GP????O they are assigned to.

Unassigned filters are ignored.





PARAMETERS

-Path <String>

The path where to create the export.

Must be an existing folder.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <String>

Filter GPOs to process by name.



Required? false

Position? 2

Default value *

Accept pipeline input? false

Accept wildcard characters? false



-GpoObject <Object>

Specify GPOs to process by object.



Required? false

Position? 3

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Domain <String>

The domain to export from.



Required? false

Position? 4

Default value $env:USERDNSDOMAIN

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Export-GptWmiFilter -Path '.'



Export all WMI Filters of all GPOs into the current folder.











RELATED LINKS