Introducing the PowerShell Profile Editor

August 4th, 2012 by Alex Riedel
Last updated on August 7th, 2012


PowerShell’s profiles make setting up your work environment a bit easier, allowing you to pre-load your most common snapins or modules, define functions, set variables and whatever else you need on startup.

However, since there are quite a number of profiles, potentially one for each host, one for all users, one for each user, one for all users and all hosts, the number of files can get a bit out of hand. If you consider that some of these are also duplicated for 32 and 64 bit if you happen to run on a 64 bit OS, you’ll see that number of files getting even larger.

So we thought we’d put together a dedicated tool for just managing and editing profiles:


Available in 32 and 64 bit versions this new application loads all existing profiles it finds. You can extend and customize the list of profiles to your needs and liking in the options dialog, so if you have a custom shared network profile you can just add that here.


Looking at the options dialog you will also notice that the PowerShell Profile Editor is capable of signing your profiles and scripts on save. You can use whatever code signing certificate you have in your store or a specific certificate. So if you haven’t set your execution policy to either RemoteSigned or AllSigned yet, using this tool is no excuse to put that off any longer.

The rest of the editor is standard fare to anyone having used PrimalPad before. And yes, you can also open just any PowerShell script or module and edit it here if you happen to need that.


The PowerShell Profile Editor has functions to backup and restore profiles, enable or disable the current profile and even run a file as a script if you need to test something.

Enabling and disabling is done by simply renaming the file, for example profile.ps1 becomes profile.disabled.ps1. Note that currently running shells or ISE instances need to be restarted to pick up any changes. You can use the “profile manager” (see below) to find out what state all of your files currently have.


Last but not least, where can you get this gem of a tool? If you have any SAPIEN software registered, you will find this on your MySAPIEN account page as an additional download.


You can also attend PowerShell training at Interface TT and get one of our coveted toolkit CDs there. This CD contains a copy of this tool among other things.


You can also get this disc at any tradeshow we attend or at any SQL Saturday, PowerShell Saturday or local users group meeting we sponsor. So make sure to ask at any PowerShell related event you attend if they have our PowerShell and Scripting Toolkit discs.


[Google+]   [Facebook]   [LinkedIn]   [StumbleUpon]   [Digg]   [Reddit]   [Google Bookmark]  

Tags: , , , , ,