Jonathan Walz avatar

Jonathan Walz

Explore articles and content from this author

Jonathan Walz avatar

Jonathan Walz

1 article  •  326 podcast episodes

Podcast Episode 2 min

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.
  • Don gives the last holdouts a really hard sell for learning PowerShell.

Tips

  • Huddledmasses.org: Editing Media Tags from PowerShell
    • This started out as a question on the #PowerShell IRC channel (irc.freenode.net) about how to edit tags on mp3 files, but we quickly discovered TagLib#, which lets you access and edit tags on not only mp3s, but on everything from asf and avi to wma…
  • PowerShell Team: Supporting -Whatif, -Confirm, -Verbose ““ In SCRIPTS!
    • J. Snover: “This is a super-important issue so you should definitely start using this in your scripts that you share with others (that have side effects on the system). Please try it out and blog about it to others so that it becomes a community norm.”
  • $cript Fanatic: Creating and managing processes in PowerShell
    • Shay covers several ways to create and manage processes. WMI, .NET and more. Good stuff.

We ran long with Don, so combined with the slow news cycle for the holidays we just skipped the news this time.
Don’t forget–we love feedback. In particular we’d like to know if you like the guests, or do you like more of the one vs. one approach? It’s a lot of fun to have guests on the show and to do the special interviews and segments. Please let us know if this is getting to be too much or any other thoughts you may have. If you have ideas on guests you’d like to hear, let us know.
Ways to interact with us:

Podcast Episode 3 min

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. In this inaugural gift guide we survey some of the best PowerShell software, script editors, cmdlets, and add-ins that money can buy.”
  • [An Interview with Lee Holmes][5] (Technet Scripting Center)“Lee Holmes is a developer on the Windows PowerShell team and author of the new book Windows PowerShell Cookbook (which includes a foreword written by Scripting Guy Dean Tsaltas).”
  • [An Interview with Lee Holmes][6] (A Couple of Admins Podcast)
  • [Cisco opening up IOS][7] (Network World)“Cisco’s plan to open up its venerable IOS routing software to customers and third-party developers is a bold move designed to further the company’s push to make the network the epicenter of the virtual data center.”

Resources

  • [Expresso Regular Expression Development Tool][8]Very cool tool to create regexes.  Free registration required.[image][8]

Tips

  • Discussion on an email from listener John Cook:

“I’m a programmer, so I don’t find PowerShell (or VBScript etc.) difficult as a language. What I find difficult about scripting is scripting itself, such as recognizing when it’s worth the effort to write a script. I’m a big fan of scripting, but I don’t write a lot of scripts because I don’t think to do it. Or I’m doing something that’s not repetitive enough to script.
I would find it interesting to listen to a show about scripting strategy: organizing tasks so they can be scripted, etc.
I would also find it interesting to hear a discussion about testing scripts. I’m a fan of test-driven development, but scripts are hard to test. Scripts are full of side effects: creating or deleting files, setting properties, sending email, etc.”

Podcast Episode 3 min

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!
  • PowerShell TFM (2nd Edition)to be available soon - May be available already from the Sapien site
    • Don says Sapien tends to run some insane deals on New Years Eve so it may be worth watching out for that
  • PowerShell Virtual User Group meeting #2 was Dec 4th - This was the second virtual event.  Speakers were: Don Jones (MVP), Dmitry Sotnikov (MVP), Oisin Grehan and Jeffrey Snover (Microsoft).  Recording is supposed to be available, but as of this moment, Hal can’t find a darn thing about it.  Watch Marco’s blog and PowerShellCommunity.org.

Resources

Cmdlet of the week

  • New-Object
    • Creates an instance of a .Net or COM object.
    • Examples:

new-object -comobject InternetExplorer.Application  new-object -comobject "Shell.Application" * Also see Appendix E of the new book Windows PowerShell Cookbook

Podcast Episode 1 min

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!

Podcast Episode 2 min

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!
  • 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.
  • Windows PowerShell Virtual User Group Meeting #2
    • Time: December 4th, 2007 at 12PM (noon) EST (New York time)
    • Registration site:http://www.clicktoattend.com/?id=122431
      Event Code: 122431
    • Guests: Don Jones (MVP), Dmitry Sotnikov (MVP), Oisin Grehan and Jeffrey Snover (Microsoft)

Resource

Tips

  • More VMWare scripting: Invoke-VmCommand.ps1from Brandon
    • List VMs and processes, execute arbitrary commands.
  • Talk about Switch -regex and Brandon’s perfect exampleof a useful custom object
    • Why write a wrapper for this existing utility? (hbainfo)
    • Using Switch -regex to process text
  • Marcus asks (and he blogged about it),
    • “How can I fix formatting on a free-form street address field stored in my AD? Can posh help with an output where … for example, address is split into multiple lines? Like this:
      “400 crap rd,
      suite 150”
    • Ended up using calculated properties to get the results into a table easily:

$a | format-table displayname,samaccountname, @{ Label =“Street Address” ; Expression = {

Podcast Episode 2 min

Episode 11 – A new PowerShell community

A Podcast about Windows PowerShell.
Listen:

Introduction

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. * Relaunch and refocus of Powershell Live (ShellTools) as well as a new developer blog. New features in development like context menus for collections and pipelines.

Resources

Tips

Cmdlet of the week

  • Write-Verbose
    • Use in parameter section of functions and combine with an If statement to enable or disable verbose logging.

Function Get-Foo { Param ( [switch] $Verbose ) If ($Verbose) { $VerbosePreference = “Continue” } Write-Verbose “My verbose stuff goes here Write-Verbose "

Podcast Episode 3 min

Episode 10 – WinRM will power PowerShell Remoting in V2

A Podcast about Windows PowerShell.
Listen:
Introduction

  • We’ve had over 5,400 downloads so far! Thanks, everyone!

News

  • PowerShell remoting will work via WinRM according to thisfrom the Scripting NewsWire
    • “Something else to consider. Sometime before the end of the year an upgraded CTP (Community Technology Preview) version of Windows PowerShell will be released, an upgrade that will enable you to run most Windows PowerShell cmdlets against remote computers. The catch? This new version of Windows PowerShell also relies on WinRM as its remote transport protocol. If you”™re interested in using Windows PowerShell to manage remote computers you"™ll need to download and install WinRM on your Windows XP and Windows Server 2003 machines."
  • New Blog: PowerShell Pro
    • “PowerShell Pro is a community devoted to compiling the leading resources needed in achieving that goal. Whether you are an advanced PowerShell user or just starting out, PowerShell Pro is dedicated to presenting information required for your success.”
    • Lots of content. Nice format.
  • Powershell “Yahoo Pipe”created by Jaykul.
    • Aggregate RSS feed containing articles from tons of PowerShell blogs.
  • Another company “Gets it”: IBM
    • Dale Lane in the UK has written on his blog about PowerShell Cmdlets he’s developing for IBM WebSphere.
  • Overview of next PS Virtual User’s Group - Dec 4th
    • Oisin presenting talk about cmdlet development, new foundations in pscx, and touching on providers
      and paths in PowerShell

Cmdlet of the week: Set-PSDebug
Check out Keith Hill’s article on Set-PSDebug: Effective PowerShell Item 5: Use Set-PSDebug -Strict In Your Scripts - Religiously

Podcast Episode 4 min

Episode 9 – PowerShell V2 news is coming in November

A Podcast about Windows PowerShell.
Listen:
Introduction

  • Thanks to //o// and Kirk at Poshoholic for mentioning us on their blogs. We loved Kirk’s post about namespaces with the Star Trek references.  That’s the Trouble with Tribbles!

News

  • According to Bruce Payette in this post, details of PowerShell V2’s upcoming features will be released in November at ITForum!
  • From <$hay@Israel’> s blog: There is a new book titled “Windows PowerShell in Practice” that is being worked on by Jim Truher and //o//.  It will be published by Manning and will cover topics such as, the PowerShell SDK (writing cmdlets, providers etc) advanced scripting techniques and domain specific examples.
  • Citrix, Citrix, and more Citrix!  Brandon Shell has gifted us with a veritable cornucopia of sixteen (16!) Citrix management functions such as:
    • Get-CitrixFarm
    • Publish-CitrixApplication
  • Keith Hill and //o// will be a guest speaker in the first Windows PowerShell Virtual User Group Meeting (From Marco Shaw’s blog)
  • Phoul from the #Powershell IRC channel has a new blog up(http://insecure-complexity.com/).  In his own words:
    • “Especially to the new PowerShell users. I’m writing a blog that will be focused around my findings in my experience learning PowerShell. It will have scripts and tutorials and some neat tips n tricks after I get a little more acquainted with PowerShell. For now it has a profile example and a useful script for signing your scripts.”

Cmdlet of the week

Podcast Episode 1 min

Episode 8 – Meet Hal Rottenberg!

A Podcast about Windows PowerShell.

- 


    **Introduction**








        Welcome to Hal Rottenberg! Check out his [blog](http://halr9000.com/)








- 


    **News**

Jeffery Snover interview

    - 

VMWare “gets it”! VI PowerShell blog

ex: Get-VM | where { $_.state -eq “poweredOn” } | Stop-VM

    - 

Post from $hay@Israel’s $cript Fanatic blog about Sapien

- 

Cmdlet of the week

select-object - BSonPoSH’s article on creating custom objects

and a follow up article

- 
  **

Resources **

Podcast Episode 1 min

Episode 7 – Don't Forget What You Already Know

A Podcast about Windows PowerShell.

- 

News

PowerShell Google group

  - 

Cmdlets of the week

New-item

      - 

Test-path

      - 

Get-WMIObject

MSDN WMI Reference

  - 

Resource

Windows PowerShell and WMI - Technet webcast w/ Don Jones

      - 

“Active Directory Management Made Easy with PowerShell” from Quest Software, link to Dmitry’s post

    - 
      Great [blog post](http://www.leadfollowmove.com/powershell-toolbox/) listing PowerShell tools







    - 

Tips