From fb5c9e248a5b6cbfc8201d9cc76bc9739916f925 Mon Sep 17 00:00:00 2001 From: William Lam Date: Sun, 20 May 2018 06:39:49 -0700 Subject: [PATCH] Fixing typo in poweredOn string --- Modules/InstantClone/InstantClone.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/InstantClone/InstantClone.psm1 b/Modules/InstantClone/InstantClone.psm1 index b67d0e4..a54865a 100644 --- a/Modules/InstantClone/InstantClone.psm1 +++ b/Modules/InstantClone/InstantClone.psm1 @@ -44,7 +44,7 @@ } # SourceVM must either be running or running but in Frozen State - if($vm.PowerState -ne "PoweredOn") { + if($vm.PowerState -ne "poweredOn") { Write-Host -ForegroundColor Red "Instant Cloning is only supported on a PoweredOn or Frozen VM" break }