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 | ||
-MapiObject | Mapi.NET.Wrappers.MapiProps | |
-PropName | String[] |
Remove-MapiProp | ||
-MapiItem | PowerMapi.Commands.IMapiObject | |
-PropID | Mapi.NET.Tags[] |
Remove-MapiProp | ||
-MapiItem | PowerMapi.Commands.IMapiObject | |
-PropName | String[] |
Parameters
MapiObject | A Mapi.NET.Wrappers.MapiProps compatible object from which to remove properties. |
MapiItem | A PowerMapi.Commands.IMapiObject object from which to remove properties. |
PropID | A list of one or more Mapi.NET.Tags values representing the properties to remove from the object. |
PropName | A 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.