Add to Technorati Favorites
Welcome to ThePowerShellGuy.com Sign in | Join | Help

Scripting Guys Windows PowerShell Owner's Manual

Next to the Downloads metioned in last entries :

  • PowerShell Quick Reference
  • Windows PowerShell Graphical Help File 
  • On the TechNet Scriptcenter the accompanying Scripting Guy articles have appeared.

    We’re starting the week with Windows PowerShell. Let’s take a look and see what we have…

    This is your guide to getting started with Windows PowerShell. Read through these pages to get familiar with Windows PowerShell, and soon you’ll be driving around like a pro.

    the article about the new help file : Windows PowerShell Graphical Help File.  

    and the Windows PowerShell Owner's Manual is posted on Technet now also .

    Thanks again Scripting Guys ! 

    Enjoy, 

    Greetings /\/\o\/\/

    Published Monday, June 04, 2007 4:07 AM by MoW
    Filed under: ,

    Comments

    # re: Scripting Guys Windows PowerShell Owner's Manual

    Is it possible to use get-content to output the line number where a specific string exists in a text file.  I want to use that row number to extract a range of text from a text file with a varying length body but constant headers and footers.

    example:

    textfile content is as follows

    chevy dodge

    fruit peach pear

    starfruit

    apple mango

    color

    red blue

    yellow

    can I get the line numbers for fruit (line 2) thru color (line 5) and retrieve only lines 2-5.

    Wednesday, June 13, 2007 9:58 AM by northbergenguy
    Anonymous comments are disabled