diff --git a/powershell/public/cisa/exchange/ConvertFrom-MailAuthenticationRecordDkim.ps1 b/powershell/public/cisa/exchange/ConvertFrom-MailAuthenticationRecordDkim.ps1 index d32551c1..049d3c6a 100644 --- a/powershell/public/cisa/exchange/ConvertFrom-MailAuthenticationRecordDkim.ps1 +++ b/powershell/public/cisa/exchange/ConvertFrom-MailAuthenticationRecordDkim.ps1 @@ -118,7 +118,7 @@ function ConvertFrom-MailAuthenticationRecordDkim { if ($record) { $dkimRecord = [DKIMRecord]::new($record) } else { - return "Failure to obtain record" + return "Record does not exist" } } else { Write-Verbose "`nFor non-Windows platforms, please install DnsClient-PS module." @@ -136,4 +136,4 @@ function ConvertFrom-MailAuthenticationRecordDkim { return $dkimRecord } -} \ No newline at end of file +} diff --git a/powershell/public/cisa/exchange/ConvertFrom-MailAuthenticationRecordDmarc.ps1 b/powershell/public/cisa/exchange/ConvertFrom-MailAuthenticationRecordDmarc.ps1 index a5cf2bf2..de9767ae 100644 --- a/powershell/public/cisa/exchange/ConvertFrom-MailAuthenticationRecordDmarc.ps1 +++ b/powershell/public/cisa/exchange/ConvertFrom-MailAuthenticationRecordDmarc.ps1 @@ -248,7 +248,7 @@ function ConvertFrom-MailAuthenticationRecordDmarc { if ($record) { $dmarcRecord = [DMARCRecord]::new($record) } else { - return "Failure to obtain record" + return "Record does not exist" } } else { Write-Verbose "`nFor non-Windows platforms, please install DnsClient-PS module." @@ -266,4 +266,4 @@ function ConvertFrom-MailAuthenticationRecordDmarc { return $dmarcRecord } -} \ No newline at end of file +}