@@ -49,8 +49,8 @@ disk to the VM.
4949
5050### Example 1: Attach a virtual disk by specifying VM name and controller details
5151
52- This example attaches the virtual disk with the unique ID " 111BBE22FD037E4EB87F366648FBF111" to the
53- virtual machine named " VM1" at controller 0, location 1.
52+ This example attaches the virtual disk with the unique ID ` 111BBE22FD037E4EB87F366648FBF111 ` to the
53+ virtual machine named ` VM1 ` at controller 0, location 1.
5454
5555``` powershell
5656$parameters = @{
@@ -66,8 +66,8 @@ Add-VMDirectVirtualDisk @parameters
6666
6767### Example 2: Attach a virtual disk by using a virtual disk object
6868
69- This example gets the Storage Spaces Direct virtual disk object named " Volume01" and the VM object
70- named " VM1" , and then directly attaches the disk to the VM.
69+ This example gets the Storage Spaces Direct virtual disk object named ` Volume01 ` and the VM object
70+ named ` VM1 ` , and then directly attaches the disk to the VM.
7171
7272``` powershell
7373$virtualDisk = Get-VirtualDisk -Friendlyname "Volume01"
@@ -80,7 +80,10 @@ Add-VMDirectVirtualDisk -VM $vm -VirtualDiskUniqueId $virtualDisk.UniqueId
8080
8181### -CimSession
8282
83- Specifies the CIM session to use for the operation. This is useful for managing remote systems.
83+ Runs the command using the specified CIM session. Enter a variable that contains the CIM session, or
84+ a command that creates or gets the CIM session, such as ` New-CimSession ` or ` Get-CimSession ` . For more
85+ information, see
86+ [ about_CimSession] ( /powershell/module/microsoft.powershell.core/about/about_cimsession ) .
8487
8588``` yaml
8689Type : Microsoft.Management.Infrastructure.CimSession[]
0 commit comments