Remarque : L'intégration PowerShell nécessite un abonnement ShareGate Migrate Pro ou Enterprise. Elle n'est pas disponible avec le forfait Essentials.
Commande
Remove-PropertyMapping
Description
Commande permettant de supprimer un mappage de propriété.
Exemples
Supprimer des mappages
# Initialize the mapping settings with the first property mapping
# Mapping "MyColumn1" to "MyColumn1" and designating it as a key column
$mappingSettings = Set-PropertyMapping -Source "MyColumn1" -Destination "MyColumn1" -Key
# Add a second property mapping to the existing mapping settings
# Mapping "MyColumn2" to "MyColumn2"
$mappingSettings = Set-PropertyMapping -MappingSettings $mappingSettings -Source "MyColumn2" -Destination "MyColumn2"
# Add a property mapping for multiple source columns to a single destination column
# Mapping "Col1", "Col2", and "Col3" to "MultipleColumn"
$mappingSettings = Set-PropertyMapping -MappingSettings $mappingSettings -Source Col1,Col2,Col3 -Destination MultipleColumn
# Remove the previously added mapping for the "MultipleColumn" destination
$mappingSettings = Remove-PropertyMapping -MappingSettings $mappingSettings -Destination MultipleColumn
# Output the final state of the mapping settings object
$mappingSettings
# Example output:
# PropertyMappings : KEY MyColumn1 -> MyColumn1
# MyColumn2 -> MyColumn2
# ContentTypeMappings :
# UserAndGroupMappings :
# PermissionLevelMappings :
# SiteTemplateMappings :
# SensitivityLabelMappings :
Syntaxe
Remove-PropertyMapping
-MappingSettings <MappingSettings>
-Destination <String>
Paramètres
-Destination <String>
Précise la propriété de destination.
Obligatoire ? | True |
Valeur par défaut | Aucun |
Entrée de pipeline acceptée ? | False |
Caractères génériques acceptés ? | False |
Nom de l'ensemble de paramètres | (All) |
Alias | Aucun |
-MappingSettings <MappingSettings>
Précise les paramètres de mappage.
Obligatoire ? | True |
Valeur par défaut | Aucun |
Entrée de pipeline acceptée ? | True (ByValue, ByPropertyName) |
Caractères génériques acceptés ? | False |
Nom de l'ensemble de paramètres | (All) |
Alias | Aucun |
Cet article a été traduit à l'aide de l'intelligence artificielle. En cas de doute, référez-vous à la version originale en anglais.
