Creating Snippets in PowerShell
Learn Powershell | Achieve More
For those of you using PowerShell V3’s new Integrated Script Editor (ISE) and be honest, why aren’t you? Besides all of the awesome stuff with code folding, intellisense, etc…, there is also another cool feature that is available is the ability to create and use snippets in the ISE.
An example is the already available snippets that are available in the ISE. All you have to do is click CTRL+J (you can also right click and select Start Snippets if that is your thing) and the snippets context menu opens up with a nice selection of snippets to choose from.
You can scroll through all of the available snippets and each one has a tooltip which allows you to see the code as well as a description/author of the snippet. Once you select the snippet, it will be pasted into the current tab on the ISE session. Given, all of…
View original post ещё 714 слов

Оставьте комментарий