Select-String -Context

A lot of people use Select-String but I haven’t seen much discussion of the –Context parameter.   This is an awesome feature that we added in V2.  If you haven’t tried it, you should spend a few minutes experimenting.  I can guarantee you that will you be glad you did. Let’s see what the HELP has to say about the Context parameter:   PS> Get-Help Select-String -Parameter Read More...

Read the complete post at http://blogs.msdn.com/powershell/archive/2010/05/07/select-string-context.aspx


Posted May 06 2010, 10:41 PM by Windows PowerShell Blog
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.