Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New-M365DSCDeltaReport: Parameter annotations are not correct - Mandatory params are not enforced. #1975

Closed
andikrueger opened this issue May 30, 2022 · 0 comments · Fixed by #2005
Assignees
Labels
Bug Something isn't working Core Engine

Comments

@andikrueger
Copy link
Collaborator

function New-M365DSCDeltaReport
{
[CmdletBinding()]
param(
[Parameter()]
[System.String]
$Source,
[Parameter()]
[System.String]
$Destination,
[Parameter()]
[System.String]
$OutputPath,
[Parameter()]
[System.Boolean]
$DriftOnly = $false,
[Parameter()]
[System.Boolean]
$IsBlueprintAssessment = $false,
[Parameter()]
[System.String]
$HeaderFilePath,
[Parameter()]
[Array]
$Delta
)

The function is missing the proper annotations for mandatory parameters.

$Source, $Destination, $OutputPath should be mandatory.

This issue is related to #1970

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Core Engine
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants