Computer Auditing – Part 3 – Miscellaneous

Here’s a collection of smaller script bits that I have used to audit computers,  that  don’t need a separate post to explain – they’re pretty much one-liners – but thought I’d add them here for completeness sake.  This is Part 3 of 4 (Part 1 is here, Part 2 is here, and Part 4 is here)

Note: these are somewhat tailored, and there is a lot more information available from each WMI query – I’ve just chosen select fields that are important to me.  Your circumstances may require different properties to be returned.  Modify as needed.


Installed Windows features:


Bios information:


Operating System information, including current PowerShell version:


Computer System information, including Intune status:


Logical Disk information:


Network Adapter information:


Certificates installed:


Scheduled Tasks:

Steal some code from HERE

Leave a Reply

Your email address will not be published. Required fields are marked *