Skip to main content

SYNOPSIS

Get-ExRoleReport - Reports on Exchange RBAC roles and permissions.

SYNTAX

Get-ExRoleReport [-OnPrem] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

This script produces a report of the membership of Exchange RBAC role groups. By default, the report contains only the groups with members.

EXAMPLES

EXAMPLE 1

Get-ExRoleReport
This command retrieves the Exchange RBAC role report for Exchange Online.

PARAMETERS

-OnPrem

{{ Fill OnPrem Description }}
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

The report is output to an array contained all the audit logs found.

To export in a csv, do Get-ExRoleReport | Export-CSV -NoTypeInformation ”$(Get-Date -Format yyyyMMdd)_adminRoles.csv” -Encoding UTF8

NOTES

https://ps365.clidsys.com/docs/commands/Get-ExRoleReport