PowerShell function to check the property to an item

Just now I received an email from PowerShell MVP Shay Levy stating that in my previous post I’m using somthing that doesn’t exist.
He was totally right.

I’m calling a Test-ItemProperty and indeed, no such cmdlet exists on a normal installation of the Windows operating system.
That’s because it’s part of my personal toolkit… whoops!

So, here’s a small function to test if a property to an item even exists:

Leave a Reply

Your email address will not be published. Required fields are marked *