2019, the remaining four days, a look back, this year have not written a blog.
Taking advantage of the tail of 2019, share SCCM project experience to do this year. Mainly about how to report information related to the query SCCM by the SQL statement.
Closer to home, the default installation of Reporting Services, the console can be viewed through the Administration Center site in sccm management reporting data, but personally feel that comes with a bad report, guided by the data format with a variety of links, not through SQL query statements directly convenience.
The following is a commonly used 10 kinds of statistical reports by SCCM SQL query statement:
1. The system finds data
System_Disc Report - View SCCM system discovered
2. Computer IP address
2.1 System_IP_address_ARR Reports - View all the computer IP address (not including sccm client installed on your computer)
according to ItemKey to match
2.2 Network_Data Report - must select computer IPEnabled00 = '1' (see only SCCM client computer is installed)
3. collection, computer detailed reports
3.1 CollectionMembers report - view the collection member information
3.2 Collection_G report - view the collection of information
4.SCCM client active / active
v_CombinedDeviceResources view - to see a variety of status information for all devices, including computer last logged-on user LastLogonUser, last activity time LastActiveTime, whether obsolete (reload) IsObsolete
SQL query statement within 90 days of active computer:
LastActiveTime> the DateAdd (DAY, -90, getDate ())
5. Computer Hardware Information - manufacturer, model, SN No.
5.1 PC_BIOS_DATA report - see computer manufacturers, SN number and other information
5.2 Computer_System_Data report - Check your computer manufacturer, model
6. Computer installed software
6.1 Installed_software_data Report - Statistical software installed on your computer
6.2 Installed_software_data_summary Report - statistics of the total number of installed software (ranking)
7. The computer operating system information
7.1 Computer_System_Data Report - statistical computer systems, models, x86 / x64 and other information
7.2 Operating_System_Data Report - Detailed statistics operating system, including the installation path, installation time, operating system version, etc.
8. System Console (landing) Users Report
SYSTEM_CONSOLE-USER-DATA, SYSTEM_CONSOLE- USAGE-DATA statements - to view the currently logged on the computer, log off the account and primary login account information - in advance to open the audit log in via Group Policy
9. The software package deployment status
v_ClassicDeplpymentAssestDetails view - View software package deployment status
10. Disk Information
10.1 Partition_Data Report - View Computer disk partition
10.2 LogicalDisk Reports - View information about logical disk
Above statements are usually used for work more reports for the daily operation and maintenance work clients have some management role.