From 43898c759e27c930c7dc33fc6aa504729b81db2e Mon Sep 17 00:00:00 2001 From: Snozz Date: Thu, 26 Dec 2024 10:24:52 -0700 Subject: [PATCH] Fix Send-MtMail outputtype --- powershell/public/Send-MtMail.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/powershell/public/Send-MtMail.ps1 b/powershell/public/Send-MtMail.ps1 index 69e2914c..85392079 100644 --- a/powershell/public/Send-MtMail.ps1 +++ b/powershell/public/Send-MtMail.ps1 @@ -25,6 +25,7 @@ https://maester.dev/docs/commands/Send-MtMail #> function Send-MtMail { + [OutputType([System.Collections.Hashtable])] [CmdletBinding()] param( # The Maester test results returned from `Invoke-Pester -PassThru | ConvertTo-MtMaesterResult`