PowerShell PowerPack Download

Rate This
  • Comments 1

I read Jeffery Hicks’ article in this month’s Redmond Magazine on a new add-in for Windows PowerShell 2.0. It’s called the PowerShell Pack and it has a some great new features that I plan to put into place on my production systems as soon as I finished learning and testing them.

You can download the pack here if you have PowerShell 2.0. I’m having a lot of fun with it, and I’ll blog about what I’m learning here in the near future, but you should check it out. The only issue I have with it right now is that you have to load a module and then use get-help to find out what it does, because I haven’t found a lot of other documentation so far.

The most interesting modules for me are the ones that can run a command elevated (in PSUserTools), the task scheduling commands (in TaskScheduler) and the file system checks and tools (in FileSystem). There’s also a way to create simple Graphical User Interface panels (in ). I plan to string all these together to install a management set of tools on my SQL Server Express Instances, giving the user “task buttons” to backup or restore a database, add or delete users and so on. Yes, I’ll be careful, and yes, I’ll make sure the user is allowed to do that.

For now, I’m testing the download, but I thought I would share what I’m up to. If you have PowerShell 2.0 and you download the pack, let me know how you use it.

Script Disclaimer, for people who need to be told this sort of thing:

Never trust any script, including those that you find here, until you understand exactly what it does and how it will act on your systems. Always check the script on a test system or Virtual Machine, not a production system. Yes, there are always multiple ways to do things, and this script may not work in every situation, for everything. It’s just a script, people. All scripts on this site are performed by a professional stunt driver on a closed course. Your mileage may vary. Void where prohibited. Offer good for a limited time only. Keep out of reach of small children. Do not operate heavy machinery while using this script. If you experience blurry vision, indigestion or diarrhea during the operation of this script, see a physician immediately.

Leave a Comment
  • Please add 2 and 7 and type the answer here:
  • Post
  • Installing the powershellpack and trying to do a sample Hello World was a beating.  Now that I have it up I'll see what I can get set up for a frontend, but to get there was (word of the day) Sisyphean.

    * download Powershell

    * download PowerShellPack

    * install both

    * start Powershell

    * Set-ExecutionPolicy Unrestricted (so I can run scripts)

    * Import-Module PowerShellPack (needs to be done each time)

    * Hit ctrl+c because it's going to ask me once per script, and there are about 50. And, each time I run powershell.

    * Set-ExecutionPolicy Bypass (hello, usefulness, goodbye protection. Grrrr)

    * Import-Module PowerShellPack

    * Import-Module WPK

    * New-Label "Hello, World" -Show

    * get odd error: Exception calling ".ctor" with "0" argument(s): "The calling thread must be STA, because many UI components require this."

    * read blog

    * change shortcut to Powershell to add -STA

    * restart Powershell

    * Import-Module PowerShellPack

    * Import-Module WPK

    * New-Label "Hello, World" -Show

Page 1 of 1 (1 items)