Episode 2 – Filtering Cmdlets

PowerScripting Podcast

A podcast about Windows PowerShell.

News

  • Windows Powershell will ship with Longhorn and will be available in Beta 3

In this show I discussed the cmdlets:

  • Where-Object
  • Sort-Object
  • ForEach-Object

 
Resources:
PowerShell Analyzer
An Introduction to Microsoft PowerShell -by Don Jones
Tips:

  • Gettype()
  • Learn Aliases
    • Get-Alias

One Liner:

Select-String *.txt -pattern username | %{$_.line} | set-content username.log

 

Leave a Reply