File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
docset/winserver2022-ps/hyper-v Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,22 +37,22 @@ The **Set-VMDvdDrive** cmdlet configures the controller and location of a virtua
37
37
38
38
### Example 1
39
39
```
40
- PS C:\> Set-VMDvdDrive -VMName TestVM -Path .\WinBuild.iso
40
+ Set-VMDvdDrive -VMName TestVM -Path .\WinBuild.iso
41
41
```
42
42
43
43
Configures the virtual DVD drive of virtual machine TestVM to use WinBuild.iso as its media.
44
44
45
45
### Example 2
46
46
```
47
- PS C:\> Set-VMDvdDrive -VMName TestVM -ControllerNumber 1 -ControllerLocation 0 -Path $null
47
+ Set-VMDvdDrive -VMName TestVM -ControllerNumber 1 -ControllerLocation 0 -Path $null
48
48
```
49
49
50
50
Configures the virtual DVD drive at IDE 1,0 of virtual machine TestVM to use no media.
51
51
(This ejects any existing media from the virtual DVD drive.)
52
52
53
53
### Example 3
54
54
```
55
- PS C:\> Get-VMDvdDrive -VMName TestVM -ControllerNumber 1 -ControllerLocation 0 | Set-VMDvdDrive -ToControllerLocation 1
55
+ Get-VMDvdDrive -VMName TestVM -ControllerNumber 1 -ControllerLocation 0 | Set-VMDvdDrive -ToControllerLocation 1
56
56
```
57
57
58
58
Moves virtual DVD drive from IDE 1,0 to IDE 1,1 on virtual machine TestVM.
You can’t perform that action at this time.
0 commit comments