Tag Archives: PowerShell

Testing for the Presence of a Registry Key and Value

There are a number of different ways to test for the presence of a registry key and value in PowerShell. Here’s how I like to go about it. We’ll use an example key HKLM:\SOFTWARE\TestSoftware with a single value Version:

Click here to be redirected to the original post of this article on the author’s blog site where you can read the remainder of the article.

Reporting On Installed Windows Programs Via The Registry

Quite a common request for working with Windows machines is to report the software installed on them. If you don’t have a centralised system for reporting on client software (many places don’t) then you may turn to some form of scripted method to obtain this information.

Most people tend to head to Add / Remove Programs when thinking about what software is installed in Windows. However, not all applications will always populate information in there, depending on how they have been installed. Additionally, to query that information you would typically query the WMI class Win32_Product, however this can lead to performance issues.

Click here to be redirected to the original post of this article on the author’s blog site where you can read the remainder of the article.

Adding and Removing Items from a PowerShell Array

Adding and removing Items from a PowerShell array is a topic which can lead to some confusion, so here are a few tips for you.

Create an array and we will note the type System.Array:

Click here to be redirected to the original post of this article on the author’s blog site where you can read the remainder of the article.

[UPDATED] PowerShell Summit 2013 Conference Schedule

If you are attending the PowerShell Summit next week in Redmond, you might want to make sure you have copies of the schedule on hand.  There are two tracks, and I have created two pdf documents, one for each track, that provide the full schedule including session abstracts and speaker bios.

PowerShell Summit 2013 Conference Schedule – Track 1

PowerShell Summit 2013 Conference Schedule – Track 2

While those details are very useful, some of the conference attendees have expressed an interest in having a consolidated view of the agenda so that they could see which sessions were taking place on each of the tracks and choose which they were more interested in.  Ask, and ye shall receive.  Here is a consolidated view of the conference sessions on all tracks, with each day on a separate page.

PowerShell Summit 2013 Conference Schedule – At at glance

Note that if you don’t have a ticket for the conference, it is sold out for this year.  We’re planning the 2014 conference now, so keep watching this blog for news about that conference as it becomes available.  There are already a few posts about it that are worth reviewing if you missed them.

Thanks, and enjoy the conference next week!

Kirk out.

Up Next: Spencer Brown from nSoftware

On this week’s show (5/12/11 @ 9:30pm EST right here on Ustream!), we’ll be talking to Spencer Brown at nSoftware.

 Be sure to drop by the Ustream channel Thursday so that you can post questions to Spencer and interact with your fellow PowerShellers!

Giving Away a Copy of “VMware vSphere PowerCLI Reference: Automating vSphere Administration” TODAY!

Cover image for product 0470890797If you would like to win a copy of the excellent new PowerShell & PowerCLI book by Luc Dekens, Alan Renouf, Jonathan Medd, Glenn Sizemore, and Arnim van Lieshout, titled VMware vSphere PowerCLI Reference: Automating vSphere Administration, then all you have to do is leave a comment or follow @powerscripting and retweet this story’s link! We will give away one (physical) copy tonight during the podcast. You don’t need to be present at the incredibly fun and informative live stream that we do every Thursday at 9:30pm EST on Ustream to win (but we’d love to see you!). Obviously we have to be able to contact you via email or twitter to obtain your shipping address, so follow us on twitter so we can DM you, or leave your email address when you comment on this blog post.

Good luck!

P.S. If you don’t win, keep listening, we have a few ebook copies to give away as well.

Up Next: Edward Haletky Talks About VMware


One of our favorite topics here at the PowerScripting Podcast is managing VMware products with PowerShell. This week, we’re tapping a new resource on the topic who has a very different background than Hal and Jon (HE LIKES LINUX) which should make for some interesting conversation. We hope you can make the show this Thursday July 16th @ 9pm EDT, broadcast live on Ustream, or available for download in all the usual ways just a few days later.

Here is a little bit about Edward (aka Texiwill on VMware Communities & Twitter):

Edward L. Haletky is the author of VMware vSphere(TM) and Virtual Infrastructure Security: Securing the Virtual Environment as well as VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers. Edward owns AstroArch Consulting, Inc., providing virtualization, security, network consulting and development. Edward is also a guru and moderator for the VMware Communities Forums, providing answers to security and configuration questions, prolific blogger, and is working on new books on Virtualization.

Free Book Contest Ends Thursday

We’re still accepting entries (see previous show notes) for the SAPIEN Press book giveaway until this coming Thursday, Oct 2nd. All you have to do is put up a review of our podcast on iTunes, PodcastAlley, or your blog. Email the URL (or your iTunes display name) to [email protected] and two people will win the random drawing!

Here’s some of the books you can choose:

image image image