Don't have Telegram yet? Try it now!
https://sqldbawithabeard.com/2018/01/25/how-to-write-a-powershell-function-to-use-confirm-verbose-and-whatif/
How to write a PowerShell function to use Confirm, Verbose and WhatIf