我有以下注册表项
$rKey="hklm:\SOFTWARE\Wow6432Node\Mycompany\MyProj\Core"
该键将具有以下参数
DBServer="Installed"
AppServer="Installed"
WebServer="Installed"
我想检查
if DBserver="Installed" Then do some action
Else Do nothing
If Appserver="Installe" then do some action
Else Do nothing
If Webserver ="Installed" then do some action
Else Do nothing
如何获取属性值并基于它执行操作?