Archive for June 4th, 2009

PowerPack Profiles

Shared Scripts (also known as PowerPack profiles) are another great feature introduced in PowerGUI 1.8.

If you ever wanted to have common functions available through-out your PowerPack or if you ever wanted to perform some kind of initialization before your PowerPack is used – this is exactly what you need.

From within any script node/link/action belonging to a PowerPack you can click Shared Scripts and edit the profile:

PowerPack-Profile

  • This profile will be available to any scripted nodes, links or actions of the pack.
  • The code will executed the first time any element of the PowerPack is clicked.
  • This is a great place to store common functions, variables, or place your initialization code (e.g. connecting to Active Directory or virtualization infrastructure.)

When you export a PowerPack the Shared Scripts get exported with it.

If you want to include them with a centrally managed PowerGUI configuration, don’t forget to share the %appdata%\Quest Software\PowerGUI\Scripts folder in the same file share where you put the PowerGUI configuration file (by the way, renamed to config.xml).

We hope you like this new feature. Download PowerGUI 1.8 and let us know what you think!

Tags: , , ,

Advertisements

My Recent Tweets

Legal

The posts on this blog are provided “as is” with no warranties and confer no rights. The opinions expressed on this site are mine and mine alone, and do not necessarily represent those of my employer - WSO2 or anyone else for that matter. All trademarks acknowledged.

© 2007-2014 Dmitry Sotnikov

June 2009
M T W T F S S
« May   Jul »
1234567
891011121314
15161718192021
22232425262728
2930  
Advertisements

%d bloggers like this: