Command
New-MappingSettings
Description
The command to override mapping settings that were previously saved for your source and destination.
Example
Set new mappings in a variable
$mappingSettings = New-MappingSettings
Notes
This command has no parameters. It is used with other mapping commands so you can create new mappings in your script without worrying about mappings that were previously saved in ShareGate Migrate for your source and destination. To find an example of the command in a complete script, see Using Mappings in PowerShell.
PowerShell allows you to use multiple mapping files for migrating your objects or content. Use this command to add mapping settings to an existing mapping settings object. For more details, see Use multiple mapping files at once.