Use PowerShell to export Hyper-V virtual machine inventory including state, host, memory, CPU and network details.
02 Collect configuration Add CPU count, startup memory, generation and VM integration information as required.
06 Schedule reporting Run the inventory on a controlled schedule and store historical reports when capacity or audit tracking is required.
Use Get-VM on standalone hosts or across the target host list to collect VM inventory.
Enumerate VMs
Collect configuration
Add CPU count, startup memory, generation and VM integration information as required.
Collect network data
Use Get-VMNetworkAdapter to capture switch and MAC information.
Add host context
Include the Hyper-V host name so the report remains useful when multiple hosts are involved.
Export to CSV
Create a flat report suitable for Excel or downstream automation.
Schedule reporting
Run the inventory on a controlled schedule and store historical reports when capacity or audit tracking is required.
Explore more TechRunbook guides
Continue with practical infrastructure troubleshooting, PowerShell scripts and operational runbooks.
Browse all articles →