Remove-MapiProp

Description

This cmdlet is used to remove one or more properties from a MAPI object that has properties.

Syntax
Note: Parameters in orange are optional.
Remove-MapiProp
-MapiObjectMapi.NET.Wrappers.MapiProps
-PropIDMapi.NET.Tags[]
Remove-MapiProp
-MapiObjectMapi.NET.Wrappers.MapiProps
-PropNameString[]
Remove-MapiProp
-MapiItemPowerMapi.Commands.IMapiObject
-PropIDMapi.NET.Tags[]
Remove-MapiProp
-MapiItemPowerMapi.Commands.IMapiObject
-PropNameString[]
Parameters
MapiObjectA Mapi.NET.Wrappers.MapiProps compatible object from which to remove properties.
MapiItemA PowerMapi.Commands.IMapiObject object from which to remove properties.
PropIDA list of one or more Mapi.NET.Tags values representing the properties to remove from the object.
PropNameA list of one or more text strings that equate to a property ID in the Mapi.NET.Tags enumeration, or a hex string prefixed with '0x' that is the 32bit property ID to be removed.
Remarks

This cmdlet removes one or more properties from MAPI objects that support properties.  Common objects that have properties are Messages, Folders, Stores, Attachments, Recipients, and Profile Services and Providers.