Skip to content

Test-DDEmailDmarcRecord Percent Output Includes Extra Text #864

@thetechgy

Description

@thetechgy

Description
The Test-DDEmailDmarcRecord cmdlet currently returns the Percent field with explanatory text rather than a raw percentage. This makes it harder to consume programmatically.

Evidence

Command

Test-DDEmailDmarcRecord example.com

Output

Percent : 100% of messages are subjected to filtering.

Problem

  • The Percent field includes extra explanatory text.
  • Programmatic consumers cannot easily parse the numeric value.

Recommendation

  • Update the Percent property to include only the numeric percentage (e.g., 100).
  • Explanatory text (e.g., "of messages are subjected to filtering") should be moved to report-style outputs instead of object properties.
  • Assumption: users of Test-DDEmailDmarcRecord have sufficient understanding of DMARC to interpret the value.

Expected Benefits

  • Cleaner, programmatically useful output.
  • Maintains clarity for reports while keeping object properties minimal and consistent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions