Episode 1 - Fundamental Cmdlets

A podcast about Windows PowerShell.

In this show I discussed the cmdlets Get-Command, Get-Help and Get-Member.

Here is a great video discussion of these cmdlets by Jeffrey Snover. (updated to a newer version)

I also talked about a great Technet video by Don Jones about the PowerShell Pipeline.

For our first PowerShell moment I talked about $f= dir

The one-liner (full version) is:

Get-Content servers.txt | %{$x = net time \$_; $x[0];If($x[2].contains(”Local”)){$x[2]}} | Add-Content Servertime.txt

You can find more detail about this one-liner in an earlier post.

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.