Testing for the Presence of a Registry Key and Value

Scripting Games

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.

Comments are closed.