Good Morning All,
I was hoping someone on here could help me out with a report I am needing to have generated. We are a Dell shop and I have been tasked with getting a list of the versions of iDrac running on all servers. This is due to a recent exploit in iDrac that needs to be patched. I have tried to create a report, but I am not very good an SQL and am slowly learning it. The report needs to include Asset name, model, Serial Number, and iDrac Version.
Here is what i started with:
Select Top 1000000 tblassets.AssetID,
tblassets.AssetName,
tsysassettypes.AssetTypename,
tsysassettypes.AssetTypeIcon10 As icon,
tblassets.IPAddress,
tsysassettypes.AssetType,
tblassets.Lastseen,
tblassets.Lasttried,
tblOIDTarget.Manufacturer,
tblOIDKey.TargetID,
tblOIDKey.OIDKeyID,
tblAssetGroups.AssetGroupID,
tblAssetGroups.AssetGroup,
tblOIDTarget.AssetGroupID As AssetGroupID1,
tblOIDTarget.Model
From tblassets
Inner Join tblassetcustom On tblassets.AssetID = tblassetcustom.AssetID
Inner Join tsysassettypes On tsysassettypes.AssetType = tblassets.Assettype
Inner Join tblOIDTarget On tblassets.AssetID = tblOIDTarget.AssetID And
tsysassettypes.AssetType = tblOIDTarget.AssetType
Inner Join tblOIDKey On tblOIDTarget.TargetID = tblOIDKey.TargetID
Inner Join tblAssetGroups On tblAssetGroups.AssetGroupID =
tblOIDTarget.AssetGroupID
Inner Join tblOIDTargetType On tblOIDTarget.TargetTypeID =
tblOIDTargetType.TargetTypeID
Where tblOIDTarget.Manufacturer = 'DELL' And tblassetcustom.State = 1
But it comes up with zero results.