< Back

Get-LaRetentionCount

Sun Jan 19, 2020 6:27 pm

NAME Get-LaRetentionCount



SYNOPSIS

Retrieves the count of mailboxes with each retention policy





SYNTAX

Get-LaRetentionCount [<CommonParameters>]





DESCRIPTION

The report will display each retention policy and how many mailboxes are assigned that particular policy





PARAMETERS

<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



NOTES









Example 1



Get-LaRetentionCount | Out-GridView





Example 2



Get-LaRetentionCount | Export-Csv .\\countofpoliciesassigned.csv -NoTypeInformation







RELATED LINKS