‎09-25-2019 04:37 PM
‎09-30-2019 03:12 PM
IsNull(scndtbl.Value, 'No Entry Found') As [WSUS Target Group],
IsNull(thrdtbl.Value, 'No Entry Found') As [WSUS Server]
Left Join (Select tblRegistry.AssetID,
tblRegistry.Valuename,
tblRegistry.Value,
tblRegistry.Regkey
From tblRegistry
Where tblRegistry.Valuename = 'TargetGroup' And
tblRegistry.Regkey Like '%SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate') scndtbl
On tblAssets.AssetID = scndtbl.AssetID
Left Join (Select tblRegistry.AssetID,
tblRegistry.Valuename,
tblRegistry.Value,
tblRegistry.Regkey
From tblRegistry
Where tblRegistry.Valuename = 'WUServer' And
tblRegistry.Regkey Like '%SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate') thrdtbl
On tblAssets.AssetID = thrdtbl.AssetID
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now