Here’s how to make PowerGUI Admin Console install with your custom PowerPack rather than whatever we ship by default:
All you need to do is:
- Create ‘Additional PowerPacks‘ subfolder in the folder containing the PowerGUI msi file.
- Put the PowerPack files you want to be installed in that new folder.
After user finishes the setup, PowerGUI Admin Console will also have your pack loaded.
You might want to go further than that and not have other (default) packs loaded at all – so your pack is the only one installed. This is possible using the silent installation option we have – basically supplying relevant command line parameters to msiexec. See all the command line options our setup has here. (Some additional options were also discussed on forums here.)
This has great implications. Now for any PowerShell-enabled technology, you can not only easily create great custom user interfaces in PowerGUI but also easily install them across computers in your organization!