Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 36188

PowerTip: Finding Out the Number of Words in the About_ conceptual Help Files

$
0
0

Summary: Learn how to find out the number of words in the Help About_ conceptual files.

Hey, Scripting Guy! Question How can I determine how many words are in the Help About_ conceptual files?

Hey, Scripting Guy! Answer Use the Get-Help cmdlet to find all of the About_ conceptual files. Then, pipe the results to a Foreach-object cmdlet. Inside the process script block, call the Get-Help cmdlet again to retrieve the information. Pipe the results to the Measure-Object cmdlet, as shown here.

Get-Help about*  | % { get-help $_.name } | measure -Word

 

 


Viewing all articles
Browse latest Browse all 36188

Trending Articles