CmdID

CmdID / PowerShell / Cmdlets / Resize

Resize-VHD

Resizes a virtual hard disk. Windows Server PowerShell reference

From the Windows Server PowerShell reference 10 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

10 in the Windows Server PowerShell reference
-AsJobRuns the cmdlet as a background job.
-CimSessionRuns the cmdlet in a remote session or on a remote computer.
-ComputerNameSpecifies one or more Hyper-V hosts on which a virtual hard disk is to be resized.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-CredentialSpecifies one or more user accounts that have permission to perform this action.
-PassthruSpecifies that an object representing the resized virtual hard disk is to be passed through to the pipeline.
-Path, -FullNameSpecifies the path to the virtual hard disk that is to be resized.
-SizeBytesSpecifies the size to which the virtual hard disk is to be resized.
-ToMinimumSizeSpecifies that the virtual hard disk is to be resized to its minimum possible size.
-WhatIf, -wiShows what would happen if the cmdlet runs.