Skip to main content
Remove Property Mapping
Updated this week

Command

Remove-PropertyMapping

Description

The command to remove a property mapping.

Index

Examples

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    :

Syntax

Remove-PropertyMapping-MappingSettings <MappingSettings>
-Destination <String>

Parameters

-Destination <String>

Specifies the destination property.

Required?

True

Default value

None

Accept pipeline input?

False

Accept wildcard characters?

False

Parameter set name

(All)

Aliases

None

-MappingSettings <MappingSettings>

Specifies the mapping settings.

Required?

True

Default value

None

Accept pipeline input?

True (ByValue, ByPropertyName)

Accept wildcard characters?

False

Parameter set name

(All)

Aliases

None

Did this answer your question?