Chat now with support
Chat with Support

Foglight for Automation Action Packs 6.3.0 - Hyper-V ActionPack User Guide

Delete VM

Deletes a Hyper-V virtual machine.

Virtual machine/virtualMachine

TopologyObject

[HPVVirtualMachine]. Virtual machine to delete.

Delete content/deleteContent

Boolean

If true, the virtual machine content (for example VHD images) will be deleted (default value is false).

Edit Drive

Connects a new virtual disk image to a virtual hard drive.

Pre-conditions

VM must be Turned Off. Any other state will result in an Illegal state for this operation exception.

Hard Drive/hardDrive

TopologyObject

[HPVVirtualMachinePhysicalDisk]. The hard drive.

VHD path/vhdPath

String

The path to the virtual hard disk

Edit VM

Changes the Hyper-V virtual machine basic settings. You should specify all parameters. If you are not going to modify a parameter, specify its current value.

Changing the CPU count and memory size requires the virtual machine to be in the Turned Off state.

Virtual machine/virtualMachine

TopologyObject

[HPVVirtualMachine]. Virtual machine to edit.

VM name/vmName

String

The virtual machine name. Cannot be null or empty.

VM notes/notes

String

The virtual machine notes. Null and empty values are accepted.

Virtual memory size/memorySizeMb

Integer

The virtual memory size in MB. Valid range is between 8 and 4094 MB.

Virtual processor count/cpuCount

Integer

The virtual processor count. Valid range is between 1 and the actual number of processors on the physical machine.

Virtual machine reserve/cpuReservation

Integer

Percent of the logical CPU that is set aside for the running virtual machine. As each VM is started, the available capacity on the Hyper-V server is reduced.

Virtual machine limit/cpuLimit

Integer

Percentage of logical CPU that a running virtual machine is not allowed to exceed.

Relative weight/cpuWeight

Integer

How CPU is distributed when there is contention among all running virtual machines. The higher the number, the more processing power is allocated to the VM.

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating