Search
Generic filters
Exact matches only
Filter by Custom Post Type

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.

Recommend0 recommendationsPublished in PowerScripting Podcast

Comments are closed.

Skip to toolbar