Episode 2 – Filtering Cmdlets

20 04 2007

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

 

About these ads

Actions

Information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s




Follow

Get every new post delivered to your Inbox.

Join 1,493 other followers

%d bloggers like this: