Today in our "31 Days of our Favorite Things", my friend and colleague Matt Hester has posted an article about a little-known improvement in the newest version of PowerShell: Script Snippets

“PowerShell Script Snippets?  It’s fun to say.  But I’ve never heard of these before.  What are they?

pshell3That’s what Matt is going to tell you.  But if I were to summarize what they are for you here, I’d borrow these two sentences from his article:

“The Integrated Script Snippets are stored in the Integrated  Scripting Environment (ISE) and are designed to help us learn to PowerShell as well as write proper scripts.  When you access the snippets you can select from a list of script templates, select the appropriate template, and have partially completed script inserted into the editor. By default ISE ships with several script snippets to ease creating the commonly used programming syntax patterns.”

“So.. it’s like inserting proper code into a script based on what you’re trying to accomplish?”

Exactly.

CHECK OUT HIS ARTICLE HERE

---

Do you wield the power of the shell?  Or are you just getting started?