Skip to content

Get-MgReport* cmdlets with a -Period parameter should be constrained #1592

Closed
@mmascolino

Description

@mmascolino

Most of the reporting cmdlets like Get-MgReportOffice365ActiveUserDetail support a parameter called -Period which is defined as being 'D7',' D30','D90', or 'D180'. In the PowerShell this manifest as a generic [string] parameter. I think this should be a type that is constrained/validated to the 4 strings that are actually acceptable.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions