Powershell Snippet Manager 4

SnippetManager & Injector v4 is a code snippet manager for PowerShell. It can be used with any editor, but also has special support for ISE and PowerGUI built in. Its based on an award winning add-on and enables you to comfortably manage PowerShell code snippets as well as search and open your scripts. Its free and itself completely written in PowerShell.


If you never worked with snippets before, here is a short explanation: Snippets are code fragments or short scripts that you save for later, so that you can use them again in another script. You’ve probably done that before by opening an old script and copy parts out of it. By saving such parts as a “snippet” you can do this much faster and easier in the future.

Once you have assigned a name to your snippet, you can easily paste them in a script, using the “snippets”-menu entry in the context menu of ISE  and PowerGUI or with Snippet Injector into any editor

And even if you’re to busy to create snippets, thanks to the Injector you can now quickly search all your scripts for the code you like you re-use and paste it with a single click into your editor.

I don’t want to sell you anything (the tool being free and all), so you can believe me when i tell you: once you’ve started using this, you will never want to script without it. :-)


For what’s new in V4: Click here.

Snippet Explorer – copy, paste, rename, delete snippets and snippet categories
– quickly and comfortably search scripts and snippets and insert them (fully or just a part) with one click in any editor you like
Locations –
support for multiple locations from your network or local computer in snippet explorer. Supports roaming profiles.
– change existing snippets, create new snippets, advanced placeholder functions for PowerGUI (auto-creation of placeholders, delete existing placeholders with auto-replacement to the default value, auto highlighting of placeholders etc.)
Store Room
– quick and easy deactivation (and reactivation) of snippets to clean up your snippets menu
Snippet Converter
– quick and easy conversion between PowerGUI snippet format and ISE snippet format (both directions, as many as you want, with just a click)
Snippet Search
– full-text indexing of all snippets, instant search in the snippet Code, Description, Name and Author.
Script Search – Instant name search and high speed code search in all your script.
PoshCode Search – Search for Snippets and Scripts on Poshcode.org (a web-based script repository). Fully integrated in SnippetExplorer.
Customizable Syntax Coloring – Display the code in the same colors as in your editor or use one of the shipped color schemes.

and much, much more…


Screenshots and Demo Videos:











Powershell v4 is recommend for this version (4.x) of SnippetManager
Powershell v2 is sufficent, although enhanced syntax coloring and Poshcode search needs v3 or later.
SnippetManager and Injector has been tested on Windows 7, 8, 8.1,  Server 2012 and 2008 R2, but should run on any other
Windows version where at least Powershell V2 can be installed.


A) You can download Snippet Manager & Injector v4 here: Download
Latest available Version is: 4.01.001
SM&I is licensed under Creative Commons BY-NC-ND 4.0.

B) If you run into any trouble during the installation, you can download the files in a ZIP-file instead: ZIP

  • Just extract the Folder inside anywhere you like.
  • But be sure to use the SnippetManager-Start.cmd to run SnippetManager or to create shortcuts from! (Check the help file for commandline options.)

There is a comprehensive help file included, but you can also download it separately: PDF

Snippet Pack

I’ve started to create a Basic Snippet Pack (currently about 40 snippets) to get you started if you haven’t used snippets before.
Most of them are basic snippets (loops, conditions, etc.) but there are also a few advanced ones.

You can download the Pack here:
Installer:  Download  or
Zip-File: Download

Video Tutorial

Still working on that. For now please use the help file.

Version History

v4.0.1 / (18.09.2015)

A) Bugfixes:

  • Fixes a Bug in Windows 10, which prevented the “add location” dialog to open
  • few Bugfixes related to the installer

v4.0.0 / (26.07.2015)

A) Improvements/Features:

see here.


v3.1.0 / (25.09.2014)


  • various Bugfixes

v3.0.0 / (20.07.2014)

A) Improvements/Features:

  • Snippet Injector! Inject your snippets in any editor. Quick and comfortable access to the snippet you need with just a click.
    • customizable Pop-Up Window
    • 2 types of tooltips for quick preview, Tooltips have syntax coloring!
    • supports different types of snippet injection
  • PoshCode Search – Search for Snippets and Scripts on Poshcode.org. Fully integrated in SnippetExplorer.
  • Customizable Syntax Coloring! Adjust the shipped color schemes or create a new one. Easily adjustable in a WYSIWYG-window.
  • Many SnippetExplorer improvements
  • Improved Network Support. SnippetManager now runs smoothly from network-shares, works with shared snippet repositories and supports roaming profiles
  • New Design: new icons, graphical buttons, cleaner design
  • Contrast-slider for the code-box
  • “Floating Launcher” and Notification icon – to launch Manager and Injector as quick and comfortable as possible

B) Bugfixes:

  • lots and lots of minor bugfixes and handling improvements

v2.0.0 / (03.08.2013)
A) Improvements/Features:

  • ISE support! SnippetManager now fully supports the ISE snippets format.
  • ISE <-> PowerGUI Snippet Converter! – You can easily convert all (or just a few of) your snippets from PowerGUI to ISE (and back) with just a click.
  • Quicksearch! With the new quicksearch-box you can now even faster find the snippets you are looking for. Just open SnippetManager and start typing a name, keyword, command… etc.
  • Full Syntax Coloring! SnippetManager now provides full syntax coloring, even while typing. (Powershell V3 required)
    – Included are currently two coloring shemes (easily changable via the options menu):
    An ISE color sheme, which looks exactly like the colors in ISE and a (more moderatly colored :))
    SnippetManager color sheme.
  • SnippetExplorer drag and drop capability (yeah i know, but now its there :) )
  • Faster Snippet Processing (up to 10x faster for large snippets)
  • New Design
  • More commands/menue items support keyboard shortcuts (the available shortcuts are shown in the tooltip of the item)
  • Standalone Tool: SnippetManager is now a standalone tool, not a PowerGUI addon anymore. That means (for now) only that it gets started by a shortcut on your desktop. I will however add “launcher”-addons for ISE and PowerGUI later this year, so that you can start SnippetManager from inside your editor

B) Bugfixes:

  • lots of minor bugfixes


  • Faster Snippet Processing
  • Improved Syntax Highlighting


  • various Bugfixes


  • various Bugfixes

Improvements/Features: (in detail see here)

  • Snippet Locations! You can now add multiple snippet folders from your network or local computer to the snippet explorer. (You can also manually add UNC Paths.)
  • Fulltext Search! Snippet Manager creates a fulltext-index of your snippets, so you can very quickly search in the snippet Code, Description, Name and Author.
  • Deactivation and Reactivation of Snippets! Easily deactivate (and reactivate) snippets to clean up your PowerGUI snippets menu.
  • No UAC-Popup Anymore
  • Enhanced Syntax Highlighting
  • Faster Snippet Processing (up to 8x faster)
  • New Option: restore last size and position of the Snippet Manager window at start
  • New Icons


  • Fixed: After file operations all Subfolders of the snippets path would be expanded
  • Fixed: Paths with read-only access caused errors
  • Fixed: The ShowInWindowsExplorer Function couldn’t find a snippet or folder if there was a special character in the name
  • minor bugfixes

Improvements/Features: (in detail see here)

  • SnippetManager now has an installer
  • Most of the commands/menue items now support keyboard shortcuts (the available shortcuts are shown in the tooltip of the item)
  • Automatic update check implemented (optional; can be turned on/off at first start and in the options menu)
  • Future Updates can now be downloaded and installed from inside SnippetManager
  • A standard value for the “Author”-field can be set (in the options menu), which will then be used for all new snippets
  • Link to the Video Tutorial and a “Contact Developer” (mailto) entry added to the Help-Menu


  • Fixed: placeholders with equal names could be created
  • Fixed: under certain circumstances a folder could be copied into a subfolder of itself
  • Fixed: snippet path of PowerGui_Pro could not be found


  • No more limitations for auto-created placeholders, anything (but spaces) can be turned into a placeholder
  • Placeholder names can be changed subsequently, changes will be replicated to all instances in the snippet
  • Improved status-bar


  • Fixed auto-word selection caused problems while selecting text in the codebox
  • minor bugfixes


  • Initial Release
  1. #1 by Ron Turnbull on Saturday - 16:04

    Very nice. I will start using this more and more now. Two questions:
    1.) why did you decide to not use the standard add-on window for ISE?
    2.) have you made the source code for this available?

    • #2 by Denniver on Saturday - 16:15

      1: Well this was originally a PowerGUI-Addon and now it is standalone. That way you can use any editor you like and there is not really a downside.

      2: Seriously? :-) Yes! Its a Powershell script, what you are downloading is the source code. It is just -for convenience- packed in an installer. But you can download it as a ZIP as well.

  1. V4 is here! | BYTECOOKIE
  2. Snippet Manager 4.01 released | BYTECOOKIE

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 38 other followers

%d bloggers like this: