New-PveNodesQemuStatusStart
Start virtual machine.
API: POST /nodes/{node}/qemu/{vmid}/status/start, Proxmox VE API viewer
Aliases: Start-PveQemu
Syntax
Section titled “Syntax”New-PveNodesQemuStatusStart [-PveTicket <PveTicket>] [-ForceCpu <string>] [-Machine <string>] [-Migratedfrom <string>] [-MigrationNetwork <string>] [-MigrationType <string>] [-NetsHostMtu <string>] -Node <string> [-Skiplock <bool>] [-Stateuri <string>] [-Targetstorage <string>] [-Timeout <int>] -Vmid <int> [-WithConntrackState <bool>] [<CommonParameters>]Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
-PveTicket |
PveTicket |
No | Ticket data connection. |
-ForceCpu |
string |
No | Override QEMU’s -cpu argument with the given string. |
-Machine |
string |
No | Specify the QEMU machine. |
-Migratedfrom |
string |
No | The cluster node name. |
-MigrationNetwork |
string |
No | CIDR of the (sub) network that is used for migration. |
-MigrationType |
string |
No | Migration traffic is encrypted using an SSH tunnel by default. On secure, completely private networks this can be disabled to increase performance. Values: secure, insecure. |
-NetsHostMtu |
string |
No | Used for migration compat. List of VirtIO network devices and their effective host_mtu setting according to the QEMU object model on the source side of the migration. A value of 0 means that the host_mtu parameter is to be avoided for the corresponding device. |
-Node |
string |
Yes | The cluster node name. |
-Skiplock |
bool |
No | Ignore locks - only root is allowed to use this option. |
-Stateuri |
string |
No | Some command save/restore state from this location. |
-Targetstorage |
string |
No | Mapping from source to target storages. Providing only a single storage ID maps all source storages to that storage. Providing the special value ‘1’ will map each source storage to itself. |
-Timeout |
int |
No | Wait maximal timeout seconds. |
-Vmid |
int |
Yes | The (unique) ID of the VM. |
-WithConntrackState |
bool |
No | Whether to migrate conntrack entries for running VMs. |
Every parameter also binds by property name from the pipeline, so an object with node and vmid properties (the output of Get-PveGuest, for one) fills -Node and -Vmid. Without -PveTicket the cmdlet uses the last connection, see Connection.
Output
Section titled “Output”A PveResponse: the data returned by Proxmox VE is in .Response.data, the outcome in .IsSuccessStatusCode. See Results and Errors.