Topics: Windows PowerShell, Windows Vista, Windows 7 Pages: 5 (1164 words) Published: January 7, 2013
About the Windows 7 Resource Kit PowerShell Pack
The Windows 7 Resource Kit PowersShell Pack is a collection of Windows PowerShell scripts included with the Resource Kit. The PowerShell Pack comes in the form of several Windows PowerShell modules, each containing anywhere from 3 to 600 functions. To get started with the PowerShell pack, run InstallPowerShellPack.cmd from the directory on the CD, open up Windows PowerShell, and run Import-Module PowerShellPack. After you run this command, you will have hundreds of PowerShell scripts loaded to play with. The Windows 7 Resource Kit PowerShell Pack contains 10 modules to do all sorts of interesting things with PowerShell. Import-Module PowerShellPack actually imports 10 modules for you to use. Here’s a brief overview of each of the modules: Module| Description|

WPK| Create rich user interfaces quick and easily from Windows PowerShell.  Think HTA, but easy.  Over 600 scripts to help you build quick user interfaces| TaskScheduler| List scheduled tasks, create or delete tasks| FileSystem| Monitor files and folders, check for duplicate files, and check disk space| IsePack| Supercharge your scripting in the Integrated Scripting Environment with over 35 shortcuts| DotNet| Explore loaded types, find commands that can work with a type, and explore how you can use PowerShell, DotNet and COM together.| PSImageTools| Convert, rotate, scale, and crop images and get image metadata| PSRSS| Harness the FeedStore  from PowerShell|

PSSystemTools| Get Operating System or Hardware Information| PSUserTools| Get the users on a system, check for elevation, and start-processaadministrator| PSCodeGen| Generates PowerShell scripts, C# code, and PInvoke| | |

While you might not use all of these modules in every situation, they represent solid families of commands you can use in any PowerShell scrips you like. The examples below should also help you start to “think in PowerShell”. Most of the tasks you will do in Powershell will not use a single command, but will instead combine many commands in one or more pipelines to get the job done. Each step of these pipelines is a rich object, with properties, methods, and events. This set of commands gives you a number of tools for working with some rich objects that were already lying in the operating system, just waiting for you to discover. Exploring the Modules

To check out additional help for the modules, go ahead and try running: Get-Help about*module*
This will show you all of the module topics, and you can just pick an individual module about topic to read. To get help on any of the commands from the PowerShell Pack, simply go ahead and do Get-Help CommandName. Individual Module Overview

The WPF (Windows Presentation Foundation) PowerShell Kit allows you to build rich user interfaces entirely in PowerShell scripts. To get started, check out the next section: Writing User Interfaces with WPK. IsePack

The Windows PowerShell Integrated Scripting Environment is built into Powershell V2, and provides a nice way to edit and debug your scripts. The Integrated Scripting Environment can also be customized with shortcuts to accomplish common tasks. IsePack (pronounced Ice Pack) is full of these shortcuts. If you load up IsePack, a menu called IsePack will be created beneath the AddOns menu in the Integrated Scripting Environment. Most of the items in IsePack have convenient shortcut keys. Here’s a few highlights: Add-InlineHelp| Quickly insert inline help into your functions so that Get-Help can help other users figure out how to use your code| Copy-Colored| Email scripts to your collegues in rich color| Copy-ColoredHTML| Blog out the scripts that you write with Copy-ColoredHTML| Show Syntax| Select a command and press CTRL + Y|

Show Member| Save anything to a variable, and then select the variable and press ALT + M to see a grid view of the control’s members|

You can...
Continue Reading

Please join StudyMode to read the full document

You May Also Find These Documents Helpful

  • Rose Windows Essay
  • Windows Are the Eyes to the Soul: Functioning Window Motif in Shelley’s Frankenstein Research Paper
  • “the Communication of Window Displays” Selfridges Essay
  • The Communication of Window Displays Essay
  • Battle of the Bytes: Macintosh vs. Windows 95 Essay
  • Windows 2000 and Event Viewer Essay
  • Formal Analysis- the Geneva Window Essay
  • Essay about Comparison Between Microsoft Window 2000 and Linux

Become a StudyMode Member

Sign Up - It's Free