Improve log messages of OneShot tasks
This commit is contained in:
parent
253fcbec6e
commit
75383437d8
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue