< Back
Import-GptLink
Post
NAME Import-GptLink
SYNOPSIS
Imports GPO Links.
SYNTAX
Import-GptLink [-Path] <String> [[-Name] <String[]>] [[-Domain] <String>] [<CommonParameters>]
DESCRIPTION
Imports GPO Links.
Use this to restore the exported links in their original order (or as close to it as possible).
PARAMETERS
-Path <String>
The path from which to pick up the import file.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String[]>
Only restore links of matching GPOs
Required? false
Position? 2
Default value *
Accept pipeline input? false
Accept wildcard characters? false
-Domain <String>
The domain into which to import.
Required? false
Position? 3
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-GptLink -Path '.'
Import GPO Links based on the exported links stored in the current path.
RELATED LINKS
SYNOPSIS
Imports GPO Links.
SYNTAX
Import-GptLink [-Path] <String> [[-Name] <String[]>] [[-Domain] <String>] [<CommonParameters>]
DESCRIPTION
Imports GPO Links.
Use this to restore the exported links in their original order (or as close to it as possible).
PARAMETERS
-Path <String>
The path from which to pick up the import file.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String[]>
Only restore links of matching GPOs
Required? false
Position? 2
Default value *
Accept pipeline input? false
Accept wildcard characters? false
-Domain <String>
The domain into which to import.
Required? false
Position? 3
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-GptLink -Path '.'
Import GPO Links based on the exported links stored in the current path.
RELATED LINKS