Add verbose logs
This commit is contained in:
parent
461c04d1b7
commit
88179df651
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,8 @@ function New-PersonalUser([Context] $context)
|
||||||
$user = Get-LocalUser | Where-Object { -not ($users -contains $_.Name) } | Select-Object -Last 1;
|
$user = Get-LocalUser | Where-Object { -not ($users -contains $_.Name) } | Select-Object -Last 1;
|
||||||
|
|
||||||
if ($user) {
|
if ($user) {
|
||||||
|
Write-Information "Found New User:";
|
||||||
|
Write-Information $user;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue