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
Subscribe to Windows IT Pro | See More News and Analysis Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

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
Accessing Database Data with ADO

...

Two Exchange Server Tools You Should Know About

These free tools can help you troubleshoot performance problems with Exchange 2007 and Exchange 2003, and help you figure out what's going on with your servers from the transactions logs. ...

The Memory-Optimization Hoax

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


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.

Job Openings in IT


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

Maximize your SharePoint Investment – 8 Cities
Discover best practices and tips for both architecting and administering SharePoint. Early Bird Price of $99 through Sept 15th.

Find a new job now on the all new IT Job Hound!
Search jobs, post your resume, and set up job e-mail alerts!

Master SharePoint with 3 eLearning Seminars
Learn how to build a better SharePoint infrastructure and enable powerful collaboration with MVPs Dan Holme and Michael Noel. Register today!

Top Tools for Virtualization Disaster Recovery & Replication
View this web seminar on August 14th to learn about two tools that will result in faster backup and restore with P2V disaster recovery.

SharePointConnections Conference Fall 2008
Don’t miss the premier event for Microsoft IT Professionals in Las Vegas, November 10-13. Register and book your room by August 25 and receive a FREE room night (based on a three night minimum stay).

VMworld 2008 - Sign Up Today!
Join your peers on September 15-18 at The Venetian Hotel in Las Vegas as VMware hosts VMworld 2008, the leading Virtualization event.



Increase Application Performance
Free White Paper by Editor's Best winner, Texas Memory Systems.

Microsoft® Tech•Ed EMEA 2008 IT Professionals
Advance your thinking with new ideas and practical real-world solutions at Microsoft’s FIVE day technical infrastructure conference 3-7 Nov., 2008. Register before 26 September 2008 to save €300.

Order Your SQL Fundamentals CD Today!
Learn how to use SQL Server, understand Office integration techniques and dive into the essentials of SQL Express and Visual Basic with this free SQL Fundamentals CD.

Are You Really Compliant with Software Regulations?
View this web seminar that will help you with compliance best practices and check out a management solution to assure that you won’t be in jeopardy of an audit.

Virtualization Congress Oct. 14-16 in London
Don't miss Virtualization Congress, the premiere EMEA conference dedicated to hardware, OS and application virtualization. Oct. 14-16.
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technical Resources Directory Connected Home Windows Excavator Windows SuperSite 
 
 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