# Viewing and Assigning Hardware Devices

Hardware Devices are surfaced at the Host detail level and the VM (server) detail level through a Devices tab. The Host detail will show all attached hardware devices and their current status: Attached (to the host), detached (from the host), or assigned (to a VM). The VM detail will show only hardware devices currently attached to that VM. To begin consuming hardware devices with HVM Cluster VMs, look again at the list in the Devices tab on the Host detail page. Detach a piece of hardware from the host using the ACTIONS dropdown for that piece of hardware. As shown in the screenshot below, DETACH DEVICE is selected for a USB device.

![../../_images/detachDevice.png](https://support.hpe.com/hpesc/public/api/document/sd00008058en_us/GUID-A94BDC5A-C89C-426E-9EF6-2914BC84AC21-high.png)

Once detached, the status of the device is changed to “Detached” (see screenshot below) and the device is available for consumption by VMs running on this host.

![../../_images/deviceDetached.png](https://support.hpe.com/hpesc/public/api/document/sd00008058en_us/GUID-34E14A70-071B-4A63-BD76-5D0A1261BC20-high.png)

To assign the hardware to a specific VM, click the ACTIONS dropdown once again for the now-detached hardware. Now, click ASSIGN DEVICE.

![../../_images/assignDevice.png](https://support.hpe.com/hpesc/public/api/document/sd00008058en_us/GUID-443A34ED-8373-4AB9-9F26-730FF70DDD3C-high.png)

Within the ASSIGN DEVICE modal that will appear, select the server for device assignment and click EXECUTE.

![../../_images/assignToServer.png](https://support.hpe.com/hpesc/public/api/document/sd00008058en_us/GUID-F76B03BD-5880-4AC2-8B3D-98537D873BDE-high.png)

The icon and status for the device in the hardware list has now changed to “Assigned.” If we then open a console session with this VM, we can see the USB device is assigned successfully and is usable by the guest OS.

![../../_images/vmConsole.png](https://support.hpe.com/hpesc/public/api/document/sd00008058en_us/GUID-C1FCF142-72C3-4E92-9EBB-6277EC6DD1AA-high.png)

The same process can be used to detach and assign GPU or NVME devices.
