PowerShell Logo Small

Expand-IscsiVirtualDisk



This is the built-in help made by Microsoft for the command 'Expand-IscsiVirtualDisk', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 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.

SYNOPSIS

Expands a virtual disk.

SYNTAX


Expand-IscsiVirtualDisk [-Path] <String> [-Size] <UInt64> [-ComputerName <String>] [-PassThru [<SwitchParameter>]] [<CommonParameters>]
Expand-IscsiVirtualDisk [-Size] <UInt64> [-ComputerName <String>] [-PassThru [<SwitchParameter>]] -InputObject <IscsiVirtualDisk>
[<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Expand-IscsiVirtualDisk cmdlet expands a virtual disk. When the operation is online, the initiator can still access the virtual disk even
while it is expanding.

However, the initiator will not automatically see the expanded virtual disk. To get access to the larger virtual disk, the initiator will need
to use the Resize-Partition cmdlet to expand the volume hosted on the virtual disk.



<

RELATED LINKS

Resize-Partition

REMARKS

<

Examples


EXAMPLE 1

PS C:\> Expand-IscsiVirtualDisk –Path "E:\temp\test.vhd" –Size 20GB



This example expands the virtual disk with the path E:\temp\test.vhd to 20GB.