diff --git a/Invoke-BalloonTip.ps1 b/Invoke-BalloonTip.ps1 index a6af564..9750d8f 100644 --- a/Invoke-BalloonTip.ps1 +++ b/Invoke-BalloonTip.ps1 @@ -43,7 +43,7 @@ [string]$Title="Attention $env:username", [Parameter(HelpMessage="The message type: Info,Error,Warning,None")] - [System.Windows.Forms.ToolTipIcon]$MessageType="Info", + [string]$MessageType="Info", [Parameter(HelpMessage="The path to a file to use its icon in the system tray")] [string]$SysTrayIconPath='C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe', @@ -85,4 +85,4 @@ Write-Verbose "Ending function" -} \ No newline at end of file +}