Jonathan Walz

Explore articles and content from this author

Jonathan Walz

586 articles published

1 min read

Interviews

We’ve been doing a lot of interview and guest shows lately. I just wanted to let you all know that with one or two exceptions, we’ve interviewed all the people we really wanted to get on the show, and we’ll definitely getting back to the more meaty shows in the future. Once we get the last bit of interviews done, I imagine from time to time we’ll still have guests on the show, but it’ll be less of a focus and more of a complement.

2 min read

Episode 16 – Don gives us the Scripting Answers

A Podcast about Windows PowerShell. Listen: In This Episode Special guest this episode is scripting guru Don Jones, the well-known author of several books, presenter and trainer at conferences and in webcasts and a lot more. Several interesting tips for your scripting Resources We go into the history of PowerShellCommunity.org and future plans for the site. We also go into detail on the sections of the website and the mission of the non-profit organization behind it all.

1 min read

Specops Command Webinar

Corey from Special Operations Software wrote to let us know about a webinar demo of Specops Command that’s coming up next week. Here’s the details: I wanted to let you know about a webinar we will be doing every Tuesday 1PM EST on the Specops Command “PowerShell Remoting through Group Policy”. Here are the meeting details if you are interested: Click here to add the meeting to your calendar.

3 min read

Episode 15 – Joel Bennett, for the developers in the house

A Podcast about Windows PowerShell. Listen: [][1] In This Episode Special guest this episode, Joel Bennett aka “Jaykul” from [HuddledMasses.org][2] “The Developer Show” New software releases, interviews, other goodies News [AD Cmdlets RTM][3] (Dmitry"™s PowerBlog)“We kind of kept sticking to the fashion of perpetual betas for quite some time now (since the first 1.0 beta released late March through the RC 1.0.5 this fall) and we feel that the product is now feature rich and stable enough…” [Windows PowerShell Holiday Gift Guide: Books][4] (Technet Scripting Center)“The Scripting Guys present their first-ever Windows PowerShell Holiday Gift Guide.

1 min read

Manipulating the Registry with PowerShell

In case you missed it, back in October, Shay wrote a cool set of functions for working with the registry. Here’s the list: Get-RegBinary Get-RegDWord Get-RegDefault Get-RegExpandString Get-RegMultipleString Get-RegQuadWord Get-RegString Get-RegValueKind New-RegSubKey Remove-RegSubKey Remove-RegSubKeyTree Set-RegBinary Set-RegDWord Set-RegDefault Set-RegExpandString Set-RegMultipleString Set-RegQuadWord Set-RegString Test-RegSubKey Test-RegValue Go read his article as it explains the syntax and gives a bunch of samples. Very useful stuff!

3 min read

Episode 14 – The IDEs are getting better

A Podcast about Windows PowerShell. Listen: In This Episode News: Software updates, books, PS Virtual User Group (recording will be available) In Resources, we’ll tell you about an interview with Jeffrey Snover, and several pieces of software. Cmdlet of the Week: New-Object In Tips, we’ll talk about Hal’s recent blog post involving benchmarking We’ve got a one-liner with a GUI. Gotchas about WMI Thanks for feedback from: Mace, John Cook, Justin Stokes News PowerShell + is now free for non-commercial use!

1 min read

Episode 13 – //o// and Marc give us an ITForum report

A Podcast about Windows PowerShell. Listen: This is a special episode. //o// (ThePowerShellGuy) joins us to give a report on ITForum in Barcelona. Marc tells us about some of the sessions he attended and people he met. I will be adding links in the coming days. Thanks for listening!

2 min read

Episode 12 – Our first guest, Brandon Shell

A Podcast about Windows PowerShell. Listen: Introduction Jam-packed show today! We ran so long, we had to skip the cmdlet-of-the-week segment! We have a Special Guest, and in fact our first guest, Brandon Shell, an MVP in Automation and author of the BSonPosh blog. News CTP! Unless you’ve been under a rock, you probably heard about the PowerShell 2.0 Community Technology Preview. Go download it! Here is what’s new. Jeffery’s warning CTP -ne Beta Citrix “Gets it” As pointed out by Dmitry and others, “From a management standpoint, Citrix is getting high on PowerShell and intend to rewrite the APIs to make everything available from Powershell scripting.

2 min read

Creating and using custom objects

Listener Mace writes: I’ve seen this code: $values = new-object ‘object[,]’ 5,2 Can you expound on that? The author fills the array. $k = 0 foreach ($j in $exchangeserverlist) { $perf = New-Object System.Diagnostics.PerformanceCounter($perfobj1, $counter1, $instance1, $j.Name) $values[$k,0] = $j.Name $values[$k,1] = $perf.RawValue $k = $k + 1 } Now, how do you sort the array based on the performance data in the second column? I’m guessing there’s a more “powershell” was of doing what’s needed rather

2 min read

Get free disk space one-liner

Listener Bill writes, I have been looking at the get-help and get-member cmdlets, but have so far not found one thing I want to have as a “one-liner” - a command line that will return the free space on a certain drive. **""${env:computername}","" + (gwmi -Query "SELECT FreeSpace FROM Win32_LogicalDisk WHERE DeviceID = 'C:'").FreeSpace / 1GB + '"' | sc my.csv ** Got kinda ugly with the quote escaping. I'll explain.