The PowerShell Podcast

Building your career with PowerShell

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.

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.

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.

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!

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!

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.

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

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.

Episode 11 – A new PowerShell community

A Podcast about Windows PowerShell. Listen: Introduction Big thanks to Shay and his PowerShell Radio post. 🙂 News PowerShell Community (powershellcommunity.org) “Real” non-profit organization created by corporate sponsors including Microsoft, Quest, Sapien, and ShellTools. Event calendar, blog hosting, forums, etc. Still under construction. PowerShell Central (powershellcentral.com) Hosted by BSonPosh and lots of help contributed by Jaykul. “All PowerShell bloggers” aggregate news feed, very cool script repository, news, etc. Still under construction.

Never Miss an Episode

Subscribe to get the latest episodes delivered straight to your favorite podcast app.