CmdID / PowerShell / Cmdlets / Set
Set-VM
Configures a virtual machine. Windows Server PowerShell reference
From the Windows Server PowerShell reference 30 parameters Its page in the reference
Parameters
Show its 30 parameters
-AllowUnverifiedPathsSpecifies that no error is to be thrown if the specified path is not verified as accessible by the cluster.-AutomaticCheckpointsEnabledSpecifies whether automatic checkpoints are enabled.-AutomaticCriticalErrorActionSpecifies the action to take when the VM encounters a critical error, and exceeds the timeout duration specified by the AutomaticCriticalErrorActionTimeout cmdlet.-AutomaticCriticalErrorActionTimeoutSpecifies the amount of time, in minutes, to wait in critical pause before powering off the virtual machine.-AutomaticStartActionSpecifies the action the virtual machine is to take upon start.-AutomaticStartDelaySpecifies the number of seconds by which the virtual machine's start should be delayed.-AutomaticStopActionSpecifies the action the virtual machine is to take when the virtual machine host shuts down.-CheckpointTypeAllows you to configure the type of checkpoints created by Hyper-V.-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 configured.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies one or more user accounts that have permission to perform this action.-DynamicMemorySpecifies that the virtual machine is to be configured to use dynamic memory.-GuestControlledCacheTypesSpecifies whether this virtual machine uses guest controlled cache types.-HighMemoryMappedIoSpace-LockOnDisconnectSpecifies whether virtual machine connection in basic mode locks the console after a user disconnects.-LowMemoryMappedIoSpace-MemoryMaximumBytesSpecifies the maximum amount of memory that the virtual machine is to be allocated.-MemoryMinimumBytesSpecifies the minimum amount of memory that the virtual machine is to be allocated.-MemoryStartupBytesSpecifies the amount of memory that the virtual machine is to be allocated upon startup.-Name, -VMNameSpecifies the name of the virtual machine to be configured.-NewVMNameSpecifies the name to which the virtual machine is to be renamed.-NotesSpecifies notes to be associated with the virtual machine.-PassthruSpecifies that an object is to be passed through to the pipeline representing the virtual machine to be configured.-ProcessorCountSpecifies the number of virtual processors for the virtual machine.-SmartPagingFilePathSpecifies the folder in which the Smart Paging file is to be stored.-SnapshotFileLocationSpecifies the folder in which the virtual machine is to store its snapshot files.-StaticMemoryThis cmdlet configures the virtual machine to use static memory.-VMSpecifies the virtual machine to be configured.-WhatIf, -wiShows what would happen if the cmdlet runs.