Skip to content

Commit

Permalink
Removed Example 2 as it belongs to another cmdlet
Browse files Browse the repository at this point in the history
  • Loading branch information
Xelu86 committed Jul 8, 2024
1 parent ffff4e3 commit 42157ad
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions docset/winserver2025-ps/hyper-v/Add-VMAssignableDevice.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,6 @@ Add-VMAssignableDevice -VMName "MyVM" -InstancePath "PCIROOT(0)#PCI(0300)#PCI(00
This example attaches a physical device, identified by its instance path, to the virtual machine
named **MyVM**.

### Example 2

```powershell
$gpu = Get-VMHostAssignableDevice
Add-VMHostAssignableDevice -HostAssignableDevice $gpu -ResourcePoolName "GpuChildPool"
```

This example retrieves a list of GPUs or other assignable devices and adds these devices to a
resource pool named **GpuChildPool**, making the devices available for use by virtual machines in
that resource pool.

## PARAMETERS

### -CimSession
Expand Down

0 comments on commit 42157ad

Please sign in to comment.