Check out the snippets for PowerGUI Script Editor that Bhargav Shukla just shared here. They offer nice templates which you can re-use when working on your scripts.
I downloaded and extracted the files to the snippets folder:
Started PowerGUI Script Editor, pressed Ctrl-I and could see the new snippets:
Here is what – for example – Custom_Script.Header gave me – very handy!
Check out these snippets here. And obviously if you have you own custom snippets that you created and are using – please consider sharing them with the community. 🙂