external help file | Module Name | online version | schema |
---|---|---|---|
DNSHealth-help.xml |
DNSHealth |
2.0.0 |
Resolve and validate DMARC policy
Read-DmarcPolicy [-Domain] <String> [<CommonParameters>]
Query domain for DMARC policy (_dmarc.domain.com) and parse results. Record is checked for issues.
Read-DmarcPolicy -Domain gmail.com
Domain : gmail.com Record : v=DMARC1; p=none; sp=quarantine; rua=mailto:[email protected] Version : DMARC1 Policy : none SubdomainPolicy : quarantine Percent : 100 DkimAlignment : r SpfAlignment : r ReportFormat : afrf ReportInterval : 86400 ReportingEmails : {[email protected]} ForensicEmails : {} FailureReport : 0 ValidationPasses : {Aggregate reports are being sent} ValidationWarns : {Policy is not being enforced, Subdomain policy is only partially enforced with quarantine, Failure report option 0 will only generate a report on both SPF and DKIM misalignment. It is recommended to set this value to 1} ValidationFails : {}
Domain to process DMARC policy
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.