Add credit for pause for end of program

This commit is contained in:
Ray 2024-04-12 19:08:19 +10:00 committed by GitHub
parent 81bbf65a70
commit 50fc91d921
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,8 @@ ForEach ($user in $fusers) {
}
}
#Print message stating the program has completed succsessfully, and to prompt them to press any key to close the program. (RAYYAN Contribution)
# Print message stating the program has completed succsessfully, and to prompt them to press any key to close the program. (RAYYAN Contribution)
# Source for code (https://www.thomasmaurer.ch/2021/01/how-to-add-sleep-wait-pause-in-a-powershell-script/#:~:text=Read%2DHost%20%2DPrompt%20%22Press%20any%20key%20to%20continue...%22)
Read-Host -Prompt "User creation completed, press any key to close the window."