Episode 3 - Select, Set, Measure

A podcast about Windows PowerShell.

News

  • Quest Software has released some beta cmdlets for managing Active Directory
  • PowerShell Analyzer RC1 has been released

In this show I discussed the cmdlets:

  • Select-String
  • Set-Content
  • Measure-Command

 

Resources:

PowerShell newsgroup

Quest Software's PowerShell cmdlets for AD management

Tips:

 

  • Quoting rules
  • Double quotes - variables are expanded and can contain text right after it

 

  • Uses of backtick or backquote `
    • Escapes the next character
    • Example "`$user is $user"
    • Can be used to continue to the next line
    • `n is newline
    • `r is a carriage return
    • `t is a tab
    • `a is an alert
    • `b is a backspace
    • `' or `"
    • `0 is null
    • `` is a single backtick

 

  • Singe quotes "What you see is what you get"even escape characters are ignored

 

 

PowerShell moment:

  • I talked about creating 150 user accounts with the new Quest cmdlets
  • I talked about doing a mass Group Policy update using PowerShell to update the gpttmpl.inf files

One Liner:

 

About the Author

Jonathan Walz

Since March 2007, Jonathan Walz has been the co-host and technical brains for the PowerScripting Podcast. Conceived as a radio show for the PowerShell community, the podcast is the longest-lived PowerShell show in existence, and has featured dozens of weekly guests.