Jonathan Walz

Explore articles and content from this author

Jonathan Walz

586 articles published

1 min read

Episode 2 – Filtering Cmdlets

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

1 min read

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($x2.

1 min read

Episode 0 – Episode Zero

I have finally posted my first podcast I started with Episode Zero because all collections in Powershell start with zero. This show is an introduction to the podcast, PowerShell and to scripting. I gave an overview of the segments that will be featured in upcoming podcasts as well as my reasoning behind them. You can find the Windows PowerShell homepage at http://microsoft.com/powershell. PowerShell Help 1.1 can be downloaded from http://www.sapien.com/software/communitytools.

1 min read

Powershell one-liner to check the time on a bunch of servers for DST

Over the weekend I need to check a bunch of servers (mostly Domain Controllers) to see if the DST (Daylight Savings Time) change occurs correctly. I decided to see how I could do it in Powershell and this is what I came up with: Get-Content servers.txt | %{$x = net time $_; $x[0];If($x[2].contains(“Local”)){$x[2]}} | Add-Content Servertime.txt This is a line of Powershell code that will open servers.txt (which is just a list of servers) and for each server it will run the “net time” command.

1 min read

AAArrghhh!!

I had an equipment setback. The USB mixer I bought is going back. It was an Alesis MultiMix USB 8 and I was getting some kind of a ground loop when I tried to use the USB interface and monitor from the mixer. I’m not the only one who has had this problem. I ordered a new mixer today and I should have it early next week.

1 min read

Podcasting gear is on the way

I’m another step closer today to Episode 1. I ordered my mixer, mic etc. today. I should have it in my eager little hands on Friday!