< Back
Import-GptWmiFilter
Post
NAME Import-GptWmiFilter
SYNOPSIS
Imports WMI filters.
SYNTAX
Import-GptWmiFilter [-Path] <String> [[-Domain] <String>] [<CommonParameters>]
DESCRIPTION
Imports WMI filters stored to file using Export-GptWmiFilter.
Note: This should be performed before using Import-GptPolicy.
PARAMETERS
-Path <String>
The path from which to import the WmiFilters
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Domain <String>
The domain into which to import the WmiFilters
Required? false
Position? 2
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:\\>Import-GptWmiFilter -Path '.'
Import WMI Filters from the current path.
RELATED LINKS
SYNOPSIS
Imports WMI filters.
SYNTAX
Import-GptWmiFilter [-Path] <String> [[-Domain] <String>] [<CommonParameters>]
DESCRIPTION
Imports WMI filters stored to file using Export-GptWmiFilter.
Note: This should be performed before using Import-GptPolicy.
PARAMETERS
-Path <String>
The path from which to import the WmiFilters
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Domain <String>
The domain into which to import the WmiFilters
Required? false
Position? 2
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:\\>Import-GptWmiFilter -Path '.'
Import WMI Filters from the current path.
RELATED LINKS