I have a lot of MS SharePoint servers in production and they all share the same key that tells me the version is.
For some reason when I write the expression it just reports N/A.
I have used this expression for other reg keys in HKLM and it works like a charm…
Is there another way I can write this?
I have the Latest TEM/BigFix Installed (Agents & Relays also updated)
If (exists value “Version” of keys “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0” of registry) Then (values “Version” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0” of registry as string) Else “N/A”
if (exists value “SharePoint” of keys “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0” of registry) then “SharePoint 2010” else “No Version”
I’m wondering if that part of the registry has different permissions.
If (exists value “Version” of keys “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0” of native registry) Then (values “Version” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0” of native registry as string) Else “N/A”