Description
PowerShell Cmdlets, written in Managed Code, that expose hardware topology information as well as PNP device discovery and control.

Requirements

This module currently exposes the following cmdlets

Installation Instructions

Importing the Cmdlet module

PowerShell
Edit|Remove
 Import-Module .\DeviceManagement.psd1 -Verbose

Enabling / Disabling Devices

PowerShell
Edit|Remove
 $deviceName = Read-Host -Prompt 'Please enter the Name of the Device to Disable'; Get-Device | Where-Object -Property Name -Like $deviceName | Disable-Device
PowerShell
Edit|Remove
 $deviceName = Read-Host -Prompt 'Please enter the Name of the Device to Enable'; Get-Device | Where-Object -Property Name -Like $deviceName | Enable-Device

Enumerating Drivers on the Driver Store

PowerShell
Edit|Remove
 Get-Driver | Where-Object -Property Description -Like "Microsoft*" | ft * -AutoSize

Hardware Topology Enumeration
All Devices in the System

PowerShell
Edit|Remove
Get-Device | Sort-Object -Property Name | ft Name, InstanceId -AutoSize

Devices that are currently Disabled

PowerShell
Edit|Remove
Get-Device | Sort-Object -Property Name | Where-Object -Property ConfigurationFlags -Like '*DISABLED*' | ft Name, InstanceId -AutoSize

Firmware Tables

PowerShell
Edit|Remove
$NUMA= Get-Numa; $NUMA.FirmwareTables | ft -AutoSize