CmdID / PowerShell / Cmdlets / Get
Get-MailboxFolder
Use the Get-MailboxFolder cmdlet to view folders in your own mailbox. Exchange PowerShell reference
From the Exchange PowerShell reference 6 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the mailbox folder that you want to view.-GetChildrenThe GetChildren switch specifies whether to return only the first level of subfolders under the specified parent folder.-RecurseThe Recurse switch specifies whether to return the specified parent folder and all of its subfolders.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-MailFolderOnlyThe MailFolderOnly switch specifies whether to return only the mail folders in the specified mailbox.-ResultSizeThe ResultSize parameter specifies the maximum number of results to return.