Inventorying hardware with PowerShell