mirror of
https://github.com/reiyua/AutoUserADCreator.git
synced 2026-01-20 16:47:47 +00:00
Modify line 12 to allow for user to enter their own AD forest name
This commit is contained in:
parent
32dbff084a
commit
865bc32200
1 changed files with 2 additions and 2 deletions
|
|
@ -8,8 +8,8 @@
|
|||
# Import required PowerShell modules
|
||||
import-module ActiveDirectory
|
||||
|
||||
#Specify User Principal Name (Active Directory Domain Forest Name)
|
||||
$UPN = "alphadelta.com"
|
||||
#Specify User Principal Name (Active Directory Domain Forest Name) (Rayyan Modified to allow for user to enter their own forest name)
|
||||
$UPN = Read-Host -Prompt "Please enter the Active Directory Forest name (example.com)"
|
||||
|
||||
#Get user to specify path of the CSV file containing user info to be added into the Active Directory.
|
||||
$fpath = Read-Host -Prompt "Please enter the path to your CSV file:"
|
||||
|
|
|
|||
Loading…
Reference in a new issue