CmdID

CmdID / PowerShell / Cmdlets / Optimize

Optimize-VHDSet

Optimizes VHD set files. Windows Server PowerShell reference

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

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

Parameters

8 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 that run this cmdlet.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-CredentialSpecifies one or more user accounts that have permission to perform this action.
-PassthruIndicates that this cmdlet returns the Microsoft.HyperV.PowerShell.VirtualHardDisk object that it optimizes.
-Path, -FullNameSpecifies an array of paths of VHD sets that this cmdlet optimizes.
-WhatIf, -wiShows what would happen if the cmdlet runs.