Command
Import-TenantUserMappings
Description
The command to create a MappingSettings object from an Export Tenant User Mappings XLSX file. The MappingSettings object can then be used for compatible copy commands like Copy-Team
.
Index
Examples
Import mappings from XLSX file
$mappingSettings = Import-TenantUserMappings -Path C:\MyMappings\MyUserMappingsFileName.xlsx
$mappingSettings
Syntax
Import-TenantUserMappings
-Path <String>
[-MappingSettings <MappingSettings>]
Parameters
-MappingSettings <MappingSettings>
Specifies the mapping settings.
Required? | False |
Default value | None |
Accept pipeline input? | True (ByValue; ByPropertyName) |
Accept wildcard characters? | False |
Parameter set name | (All) |
Aliases | None |
-Path <String>
Specifies the path that was previously exported from ShareGate (see Export Tenant User Mappings).
Required? | True |
Default value | None |
Accept pipeline input? | False |
Accept wildcard characters? | False |
Parameter set name | (All) |
Aliases | PSPath |