Skip to content

VMHyperV: Support AutomaticStartAction and AutomaticStopAction #216

Description

@janegilring

Resource proposal

I suggest adding support for configuring AutomaticStartAction and AutomaticStopAction, which can be configured using Set-VM:

Set-VM -Name $VmName -AutomaticStartAction Start/StartIfRunning/Nothing -AutomaticStopAction Save/TurnOff/ShutDown

Proposed properties

Property Data type Description Default value Allowed values
AutomaticStartAction String Configures automatic start action for VM None Start/StartIfRunning/Nothing
AutomaticStopAction String Configures automatic stop action for VM None Save/TurnOff/ShutDown

Special considerations or limitations

Modifying these properties can only be done when the VM is powered off

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThe issue is an enhancement request.good first issueThe issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHubhelp wantedThe issue is up for grabs for anyone in the community.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions