From 8ebacd39c5c93043eb93982f5d617dc8af60d3ab Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Thu, 16 Jun 2022 13:35:01 -0500 Subject: [PATCH] update script --- Orchestrator/Actions/com.virtuallypotato.utility/enableVBS.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Orchestrator/Actions/com.virtuallypotato.utility/enableVBS.js b/Orchestrator/Actions/com.virtuallypotato.utility/enableVBS.js index 20280f8..3dc1122 100644 --- a/Orchestrator/Actions/com.virtuallypotato.utility/enableVBS.js +++ b/Orchestrator/Actions/com.virtuallypotato.utility/enableVBS.js @@ -9,6 +9,7 @@ var vm = VcPlugin.getAllVirtualMachines(null, vmName)[0]; var originalState = vm.state; if (originalState === "poweredOn") { System.log("VM is running running. Stopping VM...") + // Create sleep() function function sleep(milliseconds) { var timeStart = new Date().getTime(); while (true) {