→ 🚀What's New? Explore Lansweeper's Fall 2024 Updates! Fall Launch Blog !
08-31-2016 09:35 PM
09-15-2016 09:23 PM
09-15-2016 08:39 PM
09-15-2016 08:35 PM
09-06-2016 06:46 PM
09-01-2016 10:24 PM
09-01-2016 06:26 PM
09-01-2016 06:09 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblOperatingsystem.Caption As OS,
tblOperatingsystem.ServicePackMajorVersion As SP,
tblAssets.NrProcessors As CPUCount,
T1.CoreCount,
(tblAssets.NrProcessors * T1.CoreCount) As TotalCoreCount,
tblAssets.Memory,
tblAssetCustom.Serialnumber
From tblAssets
Inner Join tblAssetCustom On tblAssetCustom.AssetID = tblAssets.AssetID
Inner Join tblOperatingsystem On tblOperatingsystem.AssetID =
tblAssets.AssetID
Inner Join (Select tblProcessor.AssetID,
Max(tblProcessor.NumberOfCores) As CoreCount
From tblProcessor
Group By tblProcessor.AssetID) T1 On T1.AssetID = tblAssets.AssetID
Where tblAssetCustom.State = 1
Order By tblAssets.AssetName
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblFeatureUni.featureName,
tblFeatureUni.featureCaption
From tblAssets
Inner Join tblAssetCustom On tblAssetCustom.AssetID = tblAssets.AssetID
Inner Join tblFeature On tblFeature.AssetId = tblAssets.AssetID
Inner Join tblFeatureUni On tblFeatureUni.featUniID = tblFeature.featUniId
Where (tblFeatureUni.featureCaption Like '%Remote Desktop%' Or
tblFeatureUni.featureCaption Like '%Failover Cluster%') And
tblAssetCustom.State = 1
Order By tblAssets.AssetName
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblSqlServers.displayVersion,
tblSqlServers.skuName As Edition,
tblSqlServers.version
From tblAssets
Inner Join tblAssetCustom On tblAssetCustom.AssetID = tblAssets.AssetID
Inner Join tblSqlServers On tblSqlServers.AssetID = tblAssets.AssetID
Where tblAssetCustom.State = 1
Order By tblAssets.AssetName
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblSoftwareUni.softwareName,
tblSoftwareUni.SoftwarePublisher,
tblSoftware.softwareVersion,
tblSoftware.Installdate
From tblAssets
Inner Join tblAssetCustom On tblAssetCustom.AssetID = tblAssets.AssetID
Inner Join tblSoftware On tblSoftware.AssetID = tblAssets.AssetID
Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where (tblSoftwareUni.softwareName Like '%SharePoint%' Or
tblSoftwareUni.softwareName Like 'Microsoft Office%' Or
tblSoftwareUni.softwareName Like '%Exchange%' Or
tblSoftwareUni.softwareName Like '%Forefront%' Or
tblSoftwareUni.softwareName Like '%Skype%' Or tblSoftwareUni.softwareName
Like '%BizTalk%' Or tblSoftwareUni.softwareName Like '%Visual Studio%') And
tblAssetCustom.State = 1
Order By tblAssets.AssetName
11-27-2023 01:05 PM
Hi Mike I need a MS True SQl query for desktop
OS (version & edition), ☐ Last scanned date, ☐ Assigned to,☐ Is virtual,☐ Power state (if virtual),☐ Number of Processors and cores (if required) ☐ Environment (if applicable)
Installed software (Desktop)
☐ Computer name, ☐ Software name, version, edition, publisher, ☐ Product type, ☐ Last used date, ☐ Discovery source
Servers
☐ Server Name (and naming convention – if possible), ☐ OS, ☐ Last scanned date, ☐ Discovery source, ☐ Server role (environment ex. Prod, Dev, QA, Test, DR, etc.), ☐ Is virtual, ☐ Power state (On or Off), ☐ Number and type of CALs (Get CAL Usage report for RDS CALs if not using Azure AD Domain)
Installed Software Server
☐ Server name, ☐ Software name, Publisher, Version, and Edition, ☐ Product type, ☐ Last used date, ☐ Number and type of CALs (if applicable),
Host Relationship
☐ Host name (physical and/or virtual), ☐ Cluster names from vCenter/Hyper-V, ☐ Number of processors and cores, ☐ Environment (ex. Prod, Dev, QA, Test, DR, etc.), ☐ Power state (On or Off), ☐ Is vMotion used.
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now