From 1eb6142d37f5ebcb40f8c766e15c0812de739685 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 21 Aug 2024 02:02:30 +0200 Subject: [PATCH] Improve log messages of OneShot tasks --- scripts/Windows/OS/Install.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index 3ff68f97..00c49ddb 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -166,10 +166,9 @@ $null = New-Module { break; } ([SetupStage]::OneShot) { - Write-Host "Running a OneShot task"; + Write-Host "Running OneShot task ``$(Get-OneShotTask)``"; Start-OneShot { - Write-Host "task is-a running!"; switch (Get-OneShotTask) { ([OneShotTask]::DisableUAC) { Disable-UAC;