This is the built-in help made by Microsoft for the command 'Resize-VirtualDisk', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Resizes an existing virtual disk to be larger or smaller.
Resize-VirtualDisk [-FriendlyName] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-Size <UInt64>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf]
[<CommonParameters>]
Resize-VirtualDisk [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-Size <UInt64>] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf]
[<CommonParameters>]
Resize-VirtualDisk [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-Size <UInt64>] [-ThrottleLimit <Int32>] -Name <String[]> [-Confirm] [-WhatIf] [<CommonParameters>]
Resize-VirtualDisk [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-Size <UInt64>] [-ThrottleLimit <Int32>] -UniqueId <String[]> [-Confirm] [-WhatIf] [<CommonParameters>]
The Resize-VirtualDisk cmdlet resizes an existing virtual disk to be larger or smaller.
Note: The ability to expand or shrink is vendor specific.
Note: If there is a partition on the virtual disk, then the partition must also be resized in order for the client to have additional space on the disk surfaced to Windows.
<
Online Version: http://go.microsoft.com/fwlink/?LinkID=307028
Connect-VirtualDisk
Disconnect-VirtualDisk
Get-VirtualDisk
Get-VirtualDiskSupportedSize
Hide-VirtualDisk
New-VirtualDisk
Remove-VirtualDisk
Repair-VirtualDisk
Resize-Partition
Set-VirtualDisk
Show-VirtualDisk
<
EXAMPLE 1
PS C:\>Resize-VirtualDisk -FriendlyName "Sqldata5" -Size (25GB)
This example changes the size of the VirtualDisk object. Note: Any associated Partition object must also be resized to utilize this space.