From 50fc91d921d8f6f2280afea1fedaede10cdf9d62 Mon Sep 17 00:00:00 2001 From: reiyua Date: Fri, 12 Apr 2024 19:08:19 +1000 Subject: [PATCH] Add credit for pause for end of program --- AutoUserADCreator.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AutoUserADCreator.ps1 b/AutoUserADCreator.ps1 index 831e37f..cdd83ad 100644 --- a/AutoUserADCreator.ps1 +++ b/AutoUserADCreator.ps1 @@ -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."