< Back

Import-GptIdentity

Tue Jan 14, 2020 12:11 am

NAME Import-GptIdentity



SYNOPSIS

Imports identity data exported from the source domain.





SYNTAX

Import-GptIdentity [-Path] <String> [[-Name] <String[]>] [[-Domain] <String>] [[-Mapping] <IDictionary>]

[<CommonParameters>]





DESCRIPTION

Imports identity data exported from the source domain.

This data is used for mapping source identities to destination identities.





PARAMETERS

-Path <String>

The path where to pick up the file.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <String[]>

Filter identities by name.



Required? false

Position? 2

Default value *

Accept pipeline input? false

Accept wildcard characters? false



-Domain <String>

The destination domain that later GPOs will be imported to.



Required? false

Position? 3

Default value $env:USERDNSDOMAIN

Accept pipeline input? false

Accept wildcard characters? false



-Mapping <IDictionary>

A mapping hashtable allowing you to map identities that have unequal names.



Required? false

Position? 4

Default value @{ }

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-GptIdentity -Path '.'



Import the identity export file from the current folder.











RELATED LINKS