< Back

New-MailFolderObject

Sat Jan 18, 2020 12:34 pm

NAME New-MailFolderObject



SYNOPSIS

Creates a new object which represents a "microsoft.graph.mailFolder" (or one of its derived types).





SYNTAX

New-MailFolderObject -mailFolder <SwitchParameter> [-childFolderCount <int>] [-childFolders <object[]>]

[-displayName <string>] [-messageRules <object[]>] [-messages <object[]>] [-multiValueExtendedProperties

<object[]>] [-parentFolderId <string>] [-singleValueExtendedProperties <object[]>] [-totalItemCount <int>]

[-unreadItemCount <int>] [<CommonParameters>]



New-MailFolderObject -mailSearchFolder <SwitchParameter> [-childFolderCount <int>] [-childFolders <object[]>]

[-displayName <string>] [-filterQuery <string>] [-includeNestedFolders <bool>] [-isSupported <bool>]

[-messageRules <object[]>] [-messages <object[]>] [-multiValueExtendedProperties <object[]>] [-parentFolderId

<string>] [-singleValueExtendedProperties <object[]>] [-sourceFolderIds <string[]>] [-totalItemCount <int>]

[-unreadItemCount <int>] [<CommonParameters>]





DESCRIPTION

Creates a new object which represents a "microsoft.graph.mailFolder" (or one of its derived types).





PARAMETERS

-mailFolder <SwitchParameter>

A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.mailFolder" type.



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-displayName <string>

The "displayName" property, of type "Edm.String".



This property is on the "microsoft.graph.mailFolder" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-parentFolderId <string>

The "parentFolderId" property, of type "Edm.String".



This property is on the "microsoft.graph.mailFolder" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-childFolderCount <int>

The "childFolderCount" property, of type "Edm.Int32".



This property is on the "microsoft.graph.mailFolder" type.



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-unreadItemCount <int>

The "unreadItemCount" property, of type "Edm.Int32".



This property is on the "microsoft.graph.mailFolder" type.



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-totalItemCount <int>

The "totalItemCount" property, of type "Edm.Int32".



This property is on the "microsoft.graph.mailFolder" type.



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-messages <object[]>

The "messages" property, of type "microsoft.graph.message".



This property is on the "microsoft.graph.mailFolder" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-messageRules <object[]>

The "messageRules" property, of type "microsoft.graph.messageRule".



This property is on the "microsoft.graph.mailFolder" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-childFolders <object[]>

The "childFolders" property, of type "microsoft.graph.mailFolder".



This property is on the "microsoft.graph.mailFolder" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-singleValueExtendedProperties <object[]>

The "singleValueExtendedProperties" property, of type "microsoft.graph.singleValueLegacyExtendedProperty".



This property is on the "microsoft.graph.mailFolder" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-multiValueExtendedProperties <object[]>

The "multiValueExtendedProperties" property, of type "microsoft.graph.multiValueLegacyExtendedProperty".



This property is on the "microsoft.graph.mailFolder" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-mailSearchFolder <SwitchParameter>

A switch parameter for selecting the parameter set which corresponds to the "microsoft.graph.mailSearchFolder"

type.



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-isSupported <bool>

The "isSupported" property, of type "Edm.Boolean".



This property is on the "microsoft.graph.mailSearchFolder" type.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-includeNestedFolders <bool>

The "includeNestedFolders" property, of type "Edm.Boolean".



This property is on the "microsoft.graph.mailSearchFolder" type.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-sourceFolderIds <string[]>

The "sourceFolderIds" property, of type "Edm.String".



This property is on the "microsoft.graph.mailSearchFolder" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-filterQuery <string>

The "filterQuery" property, of type "Edm.String".



This property is on the "microsoft.graph.mailSearchFolder" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS