Tag Archives: Lee Holmes

Up Next: Lee Holmes!

We are very pleasd to have Lee Holmes on the show once again! Lee, as many know, is a long-time member of the PowerShell development team at Microsoft, and the author of the PowerShell Cookbook which is now in its recently released third edition. Here’s more from his bio:

Lee Holmes is a developer on the Microsoft Windows PowerShell team, and has been an authoritative source of information about PowerShell since its earliest betas. His vast experience with Windows PowerShell enables him to integrate both the ‘how’ and the ‘why’ into discussions. Lee’s involvement with the PowerShell and administration community (via newsgroups, mailing lists, and blogs) gives him a great deal of insight into the problems faced by all levels of administrators and PowerShell users alike.

As always, join us live at 9:30 PM EST Thursdays at live.powerscripting.net!

Up Next: Cooking Up PowerShell with Lee Holmes!

Book cover of Windows PowerShell CookbookThis week’s show should be really great as we welcome back Lee Holmes from the Microsoft PowerShell team to talk about his book: Windows PowerShell Cookbook, Second Edition, from O’Reilly!

We will have several copies of the ebook to give away, so be sure to show up for the live stream this Thursday at 9:30 PM EDT on ustream. Once the recorded show hits the blog we will announce how you can win a copy if you can’t catch us this week.

Update: Lee is on tonight’s show! (9/9/2010)

Books All Gone!

Many thanks to O’Reilly for providing so many copies of Lee Holmes books.  We gave away four copies each of the PowerShell Cookbook and the PowerShell Pocket Reference.

Also, we wanted to remind you that there’ll be no show released next week because we’re taking a break this week for the Thanksgiving holiday in the US. Next PowerScripting Live will be Dec 4th at 9pm EST. See you there!

Episode 48 – Lee Holmes

A Podcast about Windows PowerShell.


In This Episode

Today on the PowerScripting Podcast we interview Lee Holmes, author of Windows PowerShell Cookbook and developer on the PowerShell team.  And as usual we’ve also got news, tips, resources and more.


When it comes to scripting, you’re a warrior. But mighty warriors need mighty tools!

For awesome PowerShell scripting, nothing matches the might of Quest’s PowerGUI. Versatile and easy to use, PowerGUI helps you build commanding scripts that leverage PowerShell’s strength across the enterprise. Now, ruling your domain is easier than ever.

Is your scripting might equal to the challenge? Put the power in your hands – download PowerGUI today.


Admin Script Editor (which recently received Windows IT Pro’s top award) provides a true integrated scripting environment for PowerShell.  Advanced features include an integrated PowerShell debugger, advanced code generating tools for Active Directory, Databases, XML files and more.  Let’s not forget about the exclusive PowerShell forms designer.  Come see for yourself– Admin Script Editor v3.5 is availble for a 45 day trial at AdminScriptEditor.com.

We had a great interview with Lee Holmes, be sure to listen. You can find his blog at leeholmes.com/blog, and also check out his books!


This segment is brought to you by Idera:

Want to make Windows PowerShell easier than ever to learn and master? Checkout Idera’s PowerShellPlus Professional Edition which is now available for download! The new version has vastly improved code completion and a slick interactive Learning Center. Go to www.idera.com/PodcastPeople to get your copy today!


Challenge / Book Giveaway

  • If you’d like to win a copy of one of Lee Holmes books, simply leave us feedback on iTunes, Podcast Alley, or on your own blog. We have four books to giveaway! Send an email to [email protected] letting us know where to see your review.
  • Don’t forget our challenge from two shows ago.  If you submit a solution, we’ll feature it on the show and the website, and you’ll get a little something for your trouble.  :)  Here is the email from Dale which we forgot to put in last week’s show notes:

“While trying to find a solution to a problem that popped up at work, I stumbled upon an open-source dotnet object-oriented database called Db4o.  It is intended to be used as an embedded database in programs where some persistent storage is needed, but instead of storing data in related tables, it stores objects.

I’ve tried to access the functions via reflection, but I am just learning Powershell and I don’t know if this is the right technique.  I haven’t gotten very far.

I was wondering if you or someone else who listens to the show could take a look at it, and see if it can be useful as an object store in powershell scripts.”

Coming up on the PowerScripting Podcast

  • Episode 48: Lee Holmes (we ran out of time, so we’ll be having him on again for sure)
  • Episode 49: Susan Bradley, Small Business Server MVP (PowerScripting Live starts at 8:30 EST @ 11/13)
  • Episode 50: The Scripting Guys! (PowerScripting Live will be Wednesday the 19th @ 9pm)

Win a Copy of Lee Holmes’ Books This Thursday

O’Reilly was kind enough to provide us with several copies of both Windows PowerShell Cookbook, and Windows PowerShell Pocket Reference to give away on the show. We’ll give away one or two during this Thursday’s PowerScripting Live event (at 8pm this week instead of the usual 9pm), and we may save some to give away to those aren’t able to watch the live stream.

So please join us this Thursday and ask questions of Lee Holmes and you may win one of his books!

image image

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

A Podcast about Windows PowerShell.


In This Episode

  • Special guest this episode, Joel Bennett aka “Jaykul” from HuddledMasses.org
  • “The Developer Show”
  • New software releases, interviews, other goodies


  • AD Cmdlets RTM (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 (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 (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 (A Couple of Admins Podcast)
  • Cisco opening up IOS (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.”



  • 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.”

  • Discussion with Joel about his new Windows Automation Snapin for PowerShell (WASP)
    • Blog post: http://huddledmasses.org/window-gui-automation-from-powershell/
    • New Codeplex project: http://codeplex.com/WASP
    • This is basically an upgrade to the Win32.Windows snapin Joel released a while back, the one thing that’s missing in this release that was possible in that one is using frame-set definitions to position windows. That will make it back in eventually, but in the meantime, I present some major new additions which add up to the ability to do 90% of what you’d want to do in testing or automating your winforms app’s UI.
  • Also covered: Joel’s experiences developing a Windows Presentation Foundation (WPF) PowerShell host.


(new-object -com SAPI.SpVoice).Speak("Hello $($env:UserName)",2)

Episode 4 – Get Data and Format the Output

A Podcast about Windows PowerShell.


  • New PowerShell book in the works “Windows PowerShell: The Definitive Guide” by Lee Holmes’ (a developer on the PowerShell team) from O’Reilly they have an early access program http://shrinkster.com/p8l
  • Windows Server 2008
  • AD Cmdlets 1.0.2 released – http://shrinkster.com/p8e
    • Support for Vista and Server 2008
    • You now have the ability to create enabled user accounts
    • Dmitry’s PowerBlog – http://shrinkster.com/p8d

Cmdlets of the week

  • Get-content (GC, type, cat)
  • Format-List (FL)
  • Format-Table(FT)


  • Free PowerShell ebook
    • Published by Microsoft Switzerland and recently translated into English due to it’s great popularity
    • Subtitle is “An introduction to scripting technologies for people with no real background knowledge”
    • 44 pages
    • http://shrinkster.com/pau


  • Get started now, jump in – PowerShell is your hammer and you are looking for nails
  • Go through the free manual, work the labs


  • $time = [datetime]::now
  • $time | gm   there is a method called addDays
  • $time.addDays(-90)
  • [datetime]::now.addDays(-90)  – we are calling the static member “Now” from the type literal [datetime]  to see this use [datetime] | gm -static  you will see things like “now” and “today”
  • or you could use (get-date).adddays(-90)

Powershell challenge

  • Use PowerShell to find all of the files or folders in the current directory where System does not have Full Control