Name
Remove-PropertyMapping
SYNTAX
Remove-PropertyMapping [-MappingSettings] <MappingSettings> [-Destination] <String>
DESCRIPTION
The command to remove a property mapping.
PARAMETERS
-Destination <String>
Specifies the destination property.
Required? | True |
Position? | 2 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
Parameter set name | (All) |
Aliases | None |
-MappingSettings <MappingSettings>
Specifies the mapping settings.
Required? | True |
Position? | 0 |
Default value | |
Accept pipeline input? | true (ByValue, ByPropertyName) |
Accept wildcard characters? | False |
Parameter set name | (All) |
Aliases | None |
INPUTS
MappingSettings
OUTPUTS
MappingSettings
The resulting mapping settings after the property mapping has been removed.
EXAMPLES
-------------- Example: Remove mappings --------------
$mappingSettings = Set-PropertyMapping -Source "MyColumn1" -Destination "MyColumn1" -Key $mappingSettings = Set-PropertyMapping -MappingSettings $mappingSettings -Source "MyColumn2" -Destination "MyColumn2" $mappingSettings = Set-PropertyMapping -MappingSettings $mappingSettings -Source Col1,Col2,Col3 -Destination MultipleColumn $mappingSettings = Remove-PropertyMapping -MappingSettings $mappingSettings -Destination MultipleColumn $mappingSettings PropertyMappings : KEY MyColumn1 -> MyColumn1 MyColumn2 -> MyColumn2 ContentTypeMappings : UserAndGroupMappings : PermissionLevelMappings : SiteTemplateMappings :