CmdID / PowerShell / Cmdlets / Update
Update-VMVersion
Updates the version of virtual machines. Windows Server PowerShell reference
From the Windows Server PowerShell reference 10 parameters Its page in the reference
Parameters
-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.-ForceForces the command to run without asking for user confirmation.-Name, -VMNameSpecifies an array of names of the virtual machines that this cmdlet updates.-PassthruIndicates that this cmdlet returns the Microsoft.HyperV.VirtualMachine object that it modifies.-VMSpecifies an array of virtual machines that this cmdlet updates.-WhatIf, -wiShows what would happen if the cmdlet runs.