Improve log messages of OneShot tasks
This commit is contained in:
parent
8629ed08fa
commit
1eb6142d37
|
@ -166,10 +166,9 @@ $null = New-Module {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
([SetupStage]::OneShot) {
|
([SetupStage]::OneShot) {
|
||||||
Write-Host "Running a OneShot task";
|
Write-Host "Running OneShot task ``$(Get-OneShotTask)``";
|
||||||
|
|
||||||
Start-OneShot {
|
Start-OneShot {
|
||||||
Write-Host "task is-a running!";
|
|
||||||
switch (Get-OneShotTask) {
|
switch (Get-OneShotTask) {
|
||||||
([OneShotTask]::DisableUAC) {
|
([OneShotTask]::DisableUAC) {
|
||||||
Disable-UAC;
|
Disable-UAC;
|
||||||
|
|
Loading…
Reference in a new issue