Welcome to Powergui.org - an open source community for Windows Powershell

PowerGUI.org PowerGUI.org and blogs

Forums » PowerGUI User Discussions

Thread: Automated way to import PowerPack

This question is not answered. Helpful answers available: 2. Answered answers available: 1.


Permlink Replies: 3 - Pages: 1 - Last Post: Dec 8, 2009 6:36 AM by: Oleg Shevnin
Shannon Ma

Posts: 7
Registered: 11/15/09
Automated way to import PowerPack
Posted: Nov 24, 2009 5:38 PM
 
  Click to reply to this thread Reply

Hey Guys,

Is there an automated way to import a PowerPack into the Admin Console?  I'd like to have my PowerPack installed as part of my product.  I noticed the Admin Console includes some command-line switches, but I didn't see anything about one for adding a PowerPack.  I was *hoping* I wouldn't need to resort to modifying the config.xml file.... as it looks like there's a lot of XML that would need to be injected in here.

Thanks,

Shannon

Need a simple and affordable way to manage your Windows systems in batch?
Download the NetPoint PowerPack for Windows Management!
Dmitry Sotnikov


Posts: 1,151
Registered: 12/1/06
Re: Automated way to import PowerPack
Posted: Nov 25, 2009 6:48 AM   in response to: Shannon Ma
 
  Click to reply to this thread Reply

Shannon,

Do you basically need to have PowerGUI installed with your PowerPack instead of (or in addition to) the standard packs?

If so, silent install options are your friends: http://wiki.powergui.org/index.php/Silent_Installation (see the last section on the page)

Dmitry


Shannon Ma

Posts: 7
Registered: 11/15/09
Re: Automated way to import PowerPack
Posted: Nov 25, 2009 7:36 PM   in response to: Dmitry Sotnikov
 
  Click to reply to this thread Reply

Hi Dmitry,

Actually, we have our own MSI for our product and at install time I'd like to detect if PowerGUI is installed.  If it is I'd like to install our product's PowerPack in PowerGUI.  I was hoping there was some switch in AdminConsole.exe that would allow me to do this.

Thanks for your help!

Shannon

Need a simple and affordable way to manage your Windows systems in batch?
Download the NetPoint PowerPack for Windows Management!
Oleg Shevnin

Posts: 359
Registered: 7/15/08
Re: Automated way to import PowerPack
Posted: Dec 8, 2009 6:36 AM   in response to: Shannon Ma
 
  Click to reply to this thread Reply

Shannon,

You may use silent PowerGUI installation for your scenario as Dmitry said (even if you have PowerGUI already installed). PowerPacks located in 'Additional PowerPacks' folder will be automatically installed.

Alternatively you may simply copy your PowerPack files to the <PowerGUIInstallDir>\PowerPacks folder. PowerGUI will import them automatically at next start. This will work with PowerGUI 1.9.6.



Legend
MVP: 2501 + pts
Guru: 2001 - 2500 pts
Expert: 751 - 2000 pts
Enthusiast: 31 - 750 pts
Novice: 0 - 30 pts
Moderators
Helpful answer (5 pts)
Answered (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums