Advanced Function template in PowerShell
You can make your own
The ISE has built-in templates
Try Ctrl-J