While we’re on the topic of PowerShell Help, some of you may have wondered why PowerShell includes two Help commands: Get-Help and Help. Help about_comparison_operators -ShowWindow Get-Help vs. Get-Help -Name about_* | Select-Object -Property Name, Synopsis | Sort-Object -Property Name | Format-Table -AutoSize | Out-File -FilePath ‘~\Desktop\about_help.txt’įor instance, if you need to learn more about how to use the –match comparison operator for use in regex parsing, you can read the conceptual Help first: Don’t forget to run Update-Help to make sure you have the latest and greatest documentation: Let’s start by generating a report of all conceptual Help. Whereas “normal” PowerShell Help gives you syntax and usage explanations on a command-by-command basis, the PowerShell conceptual Help library focuses on the underlying, broader principles. Let’s get enlightened, shall we? About “About” Help To that point, I’ve taught so many IT pros who knew about Get-Help but had no idea about conceptual Help. What the heck are these “about_” entries? As a tech trainer, one of my great joys is seeing my students’ eyes light up with new understanding. Now browse to the bottom of the file to the Related Links section. Like the good PowerSheller you are, you update your local Help and examine the full Select-String documentation in a separate window: To solve the issue, you decide to employ the Select-String cmdlet with regular expression (regex) syntax. Let’s say you need to identify and extract all email addresses from a huge text file. Tim is the author of Windows PowerShell in 24 Hours, Sams Teach Yourself, a contributor at, and co-organizer of the Nashville PowerShell User Group. Tim is an author and evangelist for Pluralsight, a premier online IT pro and development training company. Welcome back Timothy Warner as our guest blogger today. Microsoft Scripting Guy, Ed Wilson, is here. Summary: Guest blogger, Tim Warner, talks about using Windows PowerShell conceptual Help.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |