Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


December 05, 2007

New .chm File and Task-Based Guide Can Be Helpful PowerShell Resources


RSS
View this exclusive article with VIP access -- click here to join | See More News and Analysis Articles Here | Reprints
Or sign up for our VIP Monthly Pass!

When Windows PowerShell first came out, there wasn't much documentation to help people learn this new command-line and scripting environment. That's steadily changing. In fact, Microsoft recently released the Windows PowerShell Graphical Help File, which is a .chm file that contains the set of Help files that you'd normally access through the PowerShell command window. The PowerShell Graphical Help File (PowerShell.chm) can be especially helpful to those people who want to see what PowerShell offers without having to download it. The PowerShell.chm file contains not only detailed information about each of the PowerShell cmdlets but also useful information on scripting concepts such as arrays, operators, and parameters.

You can download PowerShell.chm from the Microsoft Download Center. If you're running Windows Vista, Windows XP, or Windows Server 2003, you can download version 2.0 from the Windows PowerShell Graphical Help File (Version 2.0) download page. If you're running an earlier version of Windows, you can download version 1.1, which works on Windows NT or later, from the Windows PowerShell Graphical Help File download page. No matter what version you download, you don't need PowerShell or the Microsoft .NET Framework installed.

Another helpful resource to use when you're learning PowerShell (or if you just want to explore it) is a guide named "What Can I Do With Windows PowerShell?" This guide explores the cmdlets by the tasks you can perform with them. There are 11 initial task areas:

  • "Dates and Times"
  • "Files and Folders"
  • "Help and Information"
  • "Saving and Importing Data"
  • "Scripting Techniques"
  • "Scripts and Applications"
  • "Security and Security Descriptors"
  • "System Administration Tasks"
  • "Windows PowerShell Aliases"
  • "Windows PowerShell Drives and Namespaces"
  • "Windows PowerShell Sessions"

Each task area is then broken down further. For example, the "Files and Folders" task area is broken into the following tasks:

  • "Copy Files or Folders"—links to a Web page that discusses how to use the Copy-Item cmdlet
  • "Create a New File or Folder"—links to a Web page that discusses how to use the New-Item cmdlet
  • "Delete a File or Folder (Or Other Objects)"—links to a Web page that discusses how to use the Remove-Item cmdlet
  • "Move a File or Folder"—links to a Web page that discusses how to use the Move-Item cmdlet
  • "Rename a File or Folder"—links to a Web page that discusses how to use the Rename-Item cmdlet
  • "Replicate (and Improve Upon) the DIR Command"—links to a Web page that discusses how to use the Get-ChildItem cmdlet
  • "Retrieve a Specific Item"—links to a Web page that discusses how to use the Get-Item cmdlet
  • "Verify the Existence of a File or Folder"—links to a Web page that discusses how to use the Test-Path cmdlet

I found the information in the "What Can I Do With Windows PowerShell?" guide quite helpful. However, sometimes the cmdlets you think should be in a task area aren't included in that area. For example, when I was searching for information about how to use the Get-Content cmdlet to retrieve the contents of files, I was surprised to find that it wasn't part of the "Files and Folders" task area.

When I started searching through the guide for the Get-Content cmdlet, I noticed a pattern in the URLs, so I tried an experiment, which ended up working well. If you want to quickly retrieve information about a specific cmdlet without having to navigate through the guide, use the URL

http://www.microsoft.com/technet/scriptcenter/topics/msh/cmdlets/cmdlet-name.mspx

where cmdlet-name is the cmdlet's name. This works for all the cmdlets that the guide covers. (The guide doesn't cover all the cmdlets at this time.) For example, I used the URL

http://www.microsoft.com/technet/scriptcenter/topics/msh/cmdlets/get-content.mspx

to get to the Web page that discusses how to use the Get-Content cmdlet.

Later when I was looking for information about another cmdlet, I stumbled across where the Get-Content cmdlet was located. It was under the unintuitive task area of "Saving and Importing Data." I'm glad I used the URL to find that cmdlet's Web page.

End of Article



Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...

Managing Virtual Sprawl

As some wise person once said, nothing is ever truly free. Such is the case with VMs, which can quickly mutate from a cost-reducing Dr. Jekyll into a time-consuming, profligate nightmare that would do Mr. Hyde proud. ...

What service packs and fixes are available?

...


Related Articles Reversing Lines in a File

News and Analysis Whitepapers MIMO Wireless LAN PHY Layer (RF) Operation & Measurement Application Note 1509

IT Industry Trends 2005 Study

The Who, What, Why, and Where of IT Events and Trade Shows

Related Events Check out our list of Free Email Newsletters!

Scripting eBooks Keeping Your Business Safe from Attack: Encryption and Certificate Services

Best Practices for Managing Linux and UNIX Servers

Building an Effective Reporting System

Related Scripting Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

Critical Challenges of ESI & Email Retention
Are you storing too much electronic information? Get expert legal advice and better understanding of what you are required to do as an IT professional.

Become a fan of Windows IT Pro on Facebook!
Join us on Facebook and be a fan of Windows IT Pro!

Sustainable Compliance: Are You Having a Resource Crisis?
Read this white paper to examine trends in compliance and security management and review approaches to reducing the cost and operational burden of compliance.

Rev Up Your IT Know-How with Our Recharged Magazine!
The improved Windows IT Pro provides trusted IT content with an enhanced new look and functionality! Get comprehensive coverage of industry topics, expert advice, and real-world solutions—PLUS access to over 10,000 articles online. Order today!

Get It All with Windows IT Pro VIP
Stock your IT toolbox with every solution ever printed in Windows IT Pro and SQL Server Magazine plus bonus Web-exclusive content on hot topics. Subscribe to receive the VIP CD and a subscription to your choice of Windows IT Pro or SQL Server Magazine!



Order Your Fundamentals CD Today!
Gain an introduction to Exchange, learn server security requirements, and understand how unified communications can play a role in your messaging strategies with this free Exchange CD.
Windows IT Pro Home Register About Us Affiliates / Licensing Media Kit Contact Us/Customer Service  
SQL Connected Home IT Library SuperSite FAQ Wininfo News
Europe Edition Office & SharePoint Pro Windows Dev Pro Windows Excavator 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing