Auto stop action is configured through auto start action.

This commit is contained in:
Björn Brala 2017-09-26 16:03:35 +02:00
parent 2355936291
commit 0f743d0731
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ if ($auto_start_action) {
}
if ($auto_stop_action) {
Set-VM -VM $vmConfig.VM -AutomaticStartAction $auto_stop_action
Set-VM -VM $vmConfig.VM -AutomaticStopAction $auto_stop_action
}
# Only set EFI secure boot for Gen 2 machines, not gen 1