CmdID / PowerShell / Cmdlets / Export
Export-VM
Exports a virtual machine to disk. Windows Server PowerShell reference
From the Windows Server PowerShell reference 11 parameters Its page in the reference
Parameters
-AsJobRuns the cmdlet as a background job.-CaptureLiveStateSpecifies how Hyper-V captures the running virtual machine memory state.-CimSessionRuns the cmdlet in a remote session or on a remote computer.-ComputerNameSpecifies one or more Hyper-V hosts on which the virtual machine is to be exported.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies one or more user accounts that have permission to perform this action.-Name, -VMNameSpecifies the name of the virtual machine to be exported.-PassthruSpecifies that a Microsoft.HyperV.PowerShell.VirtualMachine object is to be passed through to the pipeline representing the virtual machine to be exported.-PathSpecifies the path to the folder into which the virtual machine is to be exported.-VMSpecifies the virtual machine to be exported.-WhatIf, -wiShows what would happen if the cmdlet runs.