Here's your provided PowerShell script formatted for clarity and easy reference, encapsulated in a code block. This script creates a GUI application using Windows Forms that allows users to take notes and manage email templates for a help desk.
```powershell
# Tab Merge Both
# Requires PowerShell 5.x; ensure STA for WinForms/Clipboard
if ($Host.Runspace.ApartmentState -ne 'STA') {
powershell -sta -nologo -noprofile -command $PSCommandPath


