08-02-2016 05:15 PM
05-06-2022 02:53 PM
08-05-2016 01:57 AM
jaycii wrote:
Hi,
I’m currently trying to build a report that will show me all computers with an “Intel Dual Band Wireless – AC 7265” NIC.
Out of these computers I need to see which ones need their Wireless Driver updated.
Can I please get assistance with creating a custom report that shows computers with
Intel Dual Band Wireless – AC 7265 wireless adapter with the driver version at 18.44 & below.
Select Top 1000000 tsysOS.Image As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.IPAddress,
SubQuery1.PatchSearched,
Case SubQuery1.Found When 1 Then 'Yes' Else 'No' End As FileFound,
SubQuery1.FileVersion As [Driver Version],
SubQuery1.Filesize,
SubQuery1.CreationDate,
SubQuery1.LastAccessed,
SubQuery1.LastModified,
SubQuery1.Lastchanged,
TsysLastscan.Lasttime As LastFileScan,
tblAssetCustom.Model,
tblBIOS.SMBIOSBIOSVersion,
tblAssets.Lastseen,
Case
When TsysLastscan.Lasttime < GetDate() -
1 Then
'Last file scan more than 24 hours ago! Scanned file information may not be up-to-date. Try rescanning this machine.' End As Comment
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tsysOS.OScode = tblAssets.OScode
Inner Join TsysLastscan On tblAssets.AssetID = TsysLastscan.AssetID
Inner Join TsysWaittime On TsysWaittime.CFGCode = TsysLastscan.CFGcode
Left Join (Select Top 1000000 tblFileVersions.AssetID,
tblFileVersions.FilePathfull As PatchSearched,
tblFileVersions.Found,
tblFileVersions.FileVersion,
tblFileVersions.CompanyName,
tblFileVersions.Filesize,
tblFileVersions.Lastchanged,
tblFileVersions.CreationDate,
tblFileVersions.LastAccessed,
tblFileVersions.LastModified
From tblFileVersions
Where tblFileVersions.FilePathfull Like '%k57%') SubQuery1
On SubQuery1.AssetID = tblAssets.AssetID
Inner Join tblBIOS On tblAssets.AssetID = tblBIOS.AssetID
Where tblAssetCustom.Model Like '%optiplex 380%' And tblAssetCustom.State = 1
And TsysWaittime.CFGname = 'files'
Order By tblAssets.AssetName
08-04-2016 10:46 PM
Get-WmiObject Win32_PnPSignedDriver -computer <ComputerName> | Where { $_.DeviceName -eq "Intel Dual Band Wireless – AC 7265" } | select devicename, driverversion
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now