Powershell Practical Assignment for marks (AD)
Powershell Practical Assignment for marks (AD)
For the Assignment for Marks, you will be required to perform the following tasks through ONE
script.
You have been given a new server for implementation for the Crunchy Dried Frog Candies. Their
old server died and someone removed it before any data recovery was able to be made.
Creating 1 script; your script needs to perform the following unattended functions. Your script,
once started MUST run completely unattended. That means that if the system has to
restart for whatever reason, upon restart, your script is still to continue from where it
left off.
3) The Server must be promoted to an Active Directory Server. It will be the first DC in the
CDFC.local domain. In your promotion, you will need to install the AD services, create the
forest and domain, and install DNS on the server.
4) Create the following ADusers (calling data from a .txt file with local home directories, with
the respective passwords.
6) Create a public folder in C: called Stuff that everyone can have read access.
8) There will be times when FTP may be needed. For this script, install the Windows Feature
FTP, but ensure that it is disabled.
Important NOTE: To evaluate your script, it will be implemented on a new server installation.
To start your script, I will modify the execution policy on the new server to all unrestricted scripts.
Nevertheless, your script needs to be uploaded to Nexus so no additional editing or modifications
are needed. If modifications or re-writing the script to run, you will lose marks. If your script
does not run, you will lose marks, however it will be reviewed if the script does not run and
partial marks may be allocated. If your script starts and then hangs part way, marks will be
deducted and your script examined.
Marking scheme:
If your script runs unattended and all tasks perform properly, you will get full marks.
If script does not run fully (stops in mid-stream) – 75% deduction then strict evaluation of script
to possible recovery/loss of some partial marks.
If script does not run – 100% deduction then evaluation of script to possible recovery/loss of
some partial marks.
For example…
For example purposes assume that the final is out of 100.
If your script runs flawlessly and all tasks are created, then you get 100.
If your script runs flawlessly and all tasks are not created, then marks will be deducted on missed
or wrongly created tasks. (ex 100 – 20 (hypothetical value for this example only) = 80)
If your script hangs part way, and needs a manual insertion, keyboard entry or manual restart (or
similar interaction), marks start at 25, then + or - the amount for tasks completed/not completed
properly.
If your script does not run, marks start at 0 and go up depending upon strict script evaluation.
Amount added or deducted will be based solely on the correctness or mistakes in script lines.
NOTE: Any supplemental marks given for script failure is at instructor prerogative.