From 3f933cecc08776ac20aa8235d112b918cae72890 Mon Sep 17 00:00:00 2001 From: MyDrift Date: Fri, 25 Oct 2024 16:44:42 +0200 Subject: [PATCH] remove unneeded comment (after @CodingWonders's suggestion) --- functions/microwin/Invoke-Microwin.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/microwin/Invoke-Microwin.ps1 b/functions/microwin/Invoke-Microwin.ps1 index 567e0aa4..4151a3d1 100644 --- a/functions/microwin/Invoke-Microwin.ps1 +++ b/functions/microwin/Invoke-Microwin.ps1 @@ -204,7 +204,7 @@ public class PowerManagement { Write-Host "Removal complete!" Write-Host "Create unattend.xml" - #Microwin-NewUnattend + if ($sync.MicrowinUserName.Text -eq "") { Microwin-NewUnattend -userName "User"