Restart computer after creating personal user
This commit is contained in:
parent
13e5346063
commit
2320c9dbf4
1 changed files with 1 additions and 1 deletions
|
@ -34,6 +34,6 @@ function New-PersonalUser([Context] $context)
|
||||||
|
|
||||||
Write-Host "Registering setup script for all new users";
|
Write-Host "Registering setup script for all new users";
|
||||||
$context.RegisterNewUserReboot();
|
$context.RegisterNewUserReboot();
|
||||||
Register-Reboot;
|
Restart-Computer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue