This is a simple example of the get-string cmdlet.
Is you have to parse some logfiles for example, you can return specific lines to the console 
by doing this:
  1. select-string -path C:\dcdiag.log -pattern "Failed" –simplematch

Last Updated (Wednesday, 13 May 2009 16:54)