Powershell Script
Budget: $10 – $30 CAD
Below is the complete requirement of the script.
• Create a PowerShell script (NewAdmin.ps1) to create the following structure.
◦ Include a comment for the script title
◦ Include a comment for the script author
◦ Include a comment for the script description or purpose
◦ Your script should (using PowerShell CmdLets):
▪ Create a new user by prompting for input for the username (Use a username of “OSYSAdmin”)
▪ Prompting for input, assign the “Full Name” of “OSYS Admin” to the user.
▪ Assign the new user a password by prompting for input for the password (use a password of “Passw0rd”)
▪ Create a Group named “ITAdmins” with a description of “Tech Group”
▪ Make “OSYSAdmin” a member of your “ITAdmins” and local “Users” group
▪ Make “ITAdmins” group a member of your “Administrators” group.
▪ Add a comment for each command line in the script explaining in your words what is happening.
▪ Suppress all output except for the input prompts.
• Create a PowerShell script (NewAdmin.ps1) to create the following structure.
◦ Include a comment for the script title
◦ Include a comment for the script author
◦ Include a comment for the script description or purpose
◦ Your script should (using PowerShell CmdLets):
▪ Create a new user by prompting for input for the username (Use a username of “OSYSAdmin”)
▪ Prompting for input, assign the “Full Name” of “OSYS Admin” to the user.
▪ Assign the new user a password by prompting for input for the password (use a password of “Passw0rd”)
▪ Create a Group named “ITAdmins” with a description of “Tech Group”
▪ Make “OSYSAdmin” a member of your “ITAdmins” and local “Users” group
▪ Make “ITAdmins” group a member of your “Administrators” group.
▪ Add a comment for each command line in the script explaining in your words what is happening.
▪ Suppress all output except for the input prompts.