‎06-08-2015 09:47 PM
Solved! Go to Solution.
‎06-10-2015 03:02 PM
Select Top 1000000 tblMappedDrives.Username,
tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.Lastseen,
tblMappedDrives.Driveletter,
tblMappedDrives.RemotePath
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblMappedDrives On tblAssets.AssetID = tblMappedDrives.AssetID
Where tblMappedDrives.RemotePath Like '%millnet %' And tblAssetCustom.State = 1
Order By tblMappedDrives.Username,
tblAssets.AssetName,
tblMappedDrives.Driveletter
‎06-10-2015 03:02 PM
Select Top 1000000 tblMappedDrives.Username,
tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.Lastseen,
tblMappedDrives.Driveletter,
tblMappedDrives.RemotePath
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblMappedDrives On tblAssets.AssetID = tblMappedDrives.AssetID
Where tblMappedDrives.RemotePath Like '%millnet %' And tblAssetCustom.State = 1
Order By tblMappedDrives.Username,
tblAssets.AssetName,
tblMappedDrives.Driveletter
‎06-09-2015 08:56 PM
‎06-09-2015 06:58 PM
Select Top 1000000 tblSharesUni.Caption,
tblSharesUni.Name,
tblSharesUni.Path,
tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Username,
tblAssets.Userdomain,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.Lastseen
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblShares On tblAssets.AssetID = tblShares.AssetID
Inner Join tblSharesUni On tblSharesUni.ShareUniqueID =
tblShares.ShareUniqueID
Where tblSharesUni.Path Like '%maillnet %' And tblAssetCustom.State = 1
Order By tblAssets.Username,
tblSharesUni.Name
Select Top 1000000 tblPrinters.Caption,
tblPrinters.Portname,
tblPrinters.Sharename,
tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Username,
tblAssets.Userdomain,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.Lastseen
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblPrinters On tblAssets.AssetID = tblPrinters.AssetID
Where tblPrinters.Caption Like '%P1 Eng - Canon iR C5030 %' And
tblAssetCustom.State = 1
Order By tblAssets.Username
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now