Advanced Windows PowerShell Scripting Video Training

Advanced Windows PowerShell Scripting Video Training
Advanced Windows PowerShell Scripting Video Training

Tuesday, January 19, 2016

How to add the Exchange Commands to the PowerShell ISE Command Add-on Feature


I love it when my class makes me look at technology from a different perspective.  This week I am delivering a class to 23 IT pros in the United States and Holland.  It is a bit of a time zone challenge.  One member of the class asked about using snap-ins with the PowerShell ISE Command Add-On feature.

The Command Add-On allows you to construct PowerShell commands graphically and apply them to your code.  The Command Add-on is visible by default, but if you turned yours off, you can turn it back on with this procedure:

Click View on the PowerShell ISE tool bar.
Click Show Command Add-on.













The command add on will show you all of the commands currently loaded in memory.  For Exchange administrators, if they do not load the Exchange Snap-In with a profile script, they need to do so manually. 

First load the snap-in into the ISE’s memory:

Add-PSSnapin -Name Microsoft.Exchange.Management.PowerShell.E2010

Next click the Refresh button of the Command Add-on window. This may take about 20 seconds.












If you select the drop down arrow for the Modules drop down box, you should now see your snap in loaded.





















You should also be able to type in an exchange command and see it in the filtered list.





















Your Exchange commands are ready to be used in the ISE Command Add-on feature.




No comments: