Hello,
i try to generate a report similar to our Asset Inventory Excel Sheet. Instead of filling out the sheet manually i want to generate a report and export it into Excel.
Our Excel Sheet has the following columns:
Location (based on IP Location)
Room Number (Custom Field 2)
Host Name (Assetname)
Hardware (physical or virtual)
Manufacturer
Model
Type (Desktop, Tower, Rackserver)
Serial
Deployed OS
Support Status (active, out of warranty)
Warranty Start
Warranty End
IP Adress
MAC Address (primary)
Hypervisor (if virtual)
VM Host
Processor
Memory
Diskpartition ( for example C:50GB/D:100GB)
This is what i got until now.
Select Top 1000000 web40repIPLocationlist.IPLocation,
tblAssetCustom.Custom2 As [Room Number],
tblAssetCustom.AssetID,
tblAssets.AssetUnique,
tblAssetCustom.Manufacturer As Vendor,
tblAssetCustom.Model,
tblAssetCustom.Serialnumber As [Service Tag Number],
tblAssetCustom.Warrantydate As [Warranty End Date],
tblAssets.IPAddress,
tsysOS.OSname,
tblAssets.Processor,
tblAssets.Memory
From tblAssetCustom
Inner Join tblAssets On tblAssetCustom.AssetID = tblAssets.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Inner Join tblOperatingsystem
On tblAssets.AssetID = tblOperatingsystem.AssetID
Inner Join tblAssetGroupLink On tblAssets.AssetID = tblAssetGroupLink.AssetID
Inner Join tblAssetGroups On tblAssetGroups.AssetGroupID =
tblAssetGroupLink.AssetGroupID
Inner Join web40repIPLocationlist On web40repIPLocationlist.AssetID =
tblAssets.AssetID
Where tblAssetGroups.AssetGroup Like '%Server%'
Here are my Problems i need some help with
🙂I tried to find the fields but i wasn't successful and i'm a report beginner
1. Is there a field for VM or physical?
2. Is there a field for Device Type (Laptop, Desktop, Server,...)
3. When i use
tblAssetMacAddress.Mac every Mac Address is shown but i need just the primary which belongs to the IP Adress of
tblAssets.IPAddress4. A way to get a column for the Hypervisor and another one for the VM Host. When i open an Asset i can see a Field like VMware Servername or Hyper-V Servername but i wasn't able to use it in my Report.
5. In the table
tsysOS.OSnameis just a short form of the Operatingsystem Name. Is there also a long form like "Windows 7 Enterprise x64 SP1" instead of "Win 7"
6. Is it possible to Display the partitions like C:\50GB D:\100GB
Thanks in advance