ClientInspectorV2: Unleashing the power of Azure LogAnalytics, Azure Data Collection Rules, Log Ingestion API
ClientInspector
Are you in control? – or are some of your core infrastructure processes like patching, antivirus, and bitlocker enablement drifting? Or would you like to do advanced inventory, where you can look up your warranty state against Lenovo or Dell warranty, then keep reading?
Check out ClientInspector, which can help you get great insight into your complete client environment.
ClientInspector is free to the community – built to be a cool showcase of how you can bring back data from your clients using Azure Log Ingestion Pipeline, Azure Data Collection Rules, and Azure LogAnalytics; view them with Azure Monitor & Azure Dashboards – and get “drift-alerts” using Microsoft Sentinel.
Architecture & flow of ClientInspector
ClientInspector (v2) is uploading the collected data into custom logs in Azure LogAnalytics workspace – using Log ingestion API, Azure Data Collection Rules (DCR), and Azure Data Collection Endpoints (DCE).
What data is being collected?
ClientInspector can be used to collect lots of great information of from your Windows clients – and send the data to Azure LogAnalytics Custom Tables.
The script collects the following information (settings, information, configuration, state):
- User Logged On to Client
- Computer information – bios, processor, hardware info, Windows OS info, OS information, last restart
- Installed applications, both using WMI and registry
- Antivirus Security Center from Windows – default antivirus, state, configuration
- Microsoft Defender Antivirus – all settings including ASR, exclusions, realtime protection, etc
- Office – version, update channel config, SKUs
- VPN client – version, product
- LAPS – version
- Admin By Request (3rd party) – version
- Windows Update – last result (when), windows update source information (where), pending updates, last installations (what)
- Bitlocker – configuration
- Eventlog – look for specific events including logon events, blue screens, etc.
- Network adapters – configuration, installed adapters
- IP information for all adapters
- Local administrators group membership
- Windows firewall – settings for all 3 modes
- Group Policy – last refresh
- TPM information – relavant to detect machines with/without TPM
Install & Use
Copyright (c) 2023 Morten Knudsen