“Stuff that saves time” is a pretty good credo for PowerShell. With that in mind, if you’re going to write lots of functions a template can both save you a bit of typing and remind you about important bits to include.
Here’s mine, with a few comments afterwards.