Hi all,
I was hoping to get some light on what I’m trying to do.
if (exists keys whose (value “SmartClientIDs” of it as string as lowercase starts with “te0000999999”) of key > “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ellie Mae\SmartClient” of x64 registry) then (“Test-Sunset”) else (if (exists keys whose (value “SmartClientIDs” of it as string as lowercase starts with “te000000000”) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ellie Mae\SmartClient” of x64 registry) then (“Test-NEW”) else (if (exists keys whose (value “SmartClientIDs” of it as string as lowercase starts with “b654321”) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ellie Mae\SmartClient” of x64 registry) then (“CD and Wholesale”) else (if (exists keys whose (value “SmartClientIDs” of it as string as lowercase starts with “b123456”) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ellie Mae\SmartClient” of x64 registry) then (“Assumptions”) else (“No Encompass Found”))))
However, when I’m looking at it in the properties column I only get one instance. In some cases it there are 2 instances. So I’m planning to steal some of this code. Also, I have some machines that shows as
unique values of ((if (exists value “DisplayVersion” of it AND exists value “DisplayName” of it) then (value “DisplayName” of it as string & " | " & value “DisplayVersion” of it as string) else (if (exists value “DisplayName” of it AND not exists value “DisplayVersion” of it) then (value “DisplayName” of it as string & " | <N/A>") else nothings)) of keys whose (value “DisplayName” of it as string as lowercase starts with “adobe air”) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of it) of (if x64 of operating system then (x64 registry;x32 registry) else registry)