hello everyone this is a homework prompted from my it class George is really lazy. He thinks it would be really neat if you could set up a PowerShell script that would create his sub-directory structure for his classes for the semester. He wants to have the top level be the semester (.i.e. Fall2017) and have directories for each class under the top level. Each of the class directories will contain sub-directories named Assignments and Notes. He wants the script to ask him for the semester and then for each of the courses he is taking that semester. Build a PowerShell script that will do the following: Ask for the semester and build a directory for the semester Loop and ask for each course for the semester until "end" is entered In side the loop, create a directory for the course under the semester's directory and create 2 sub-directories called Assignments and Notes under each course directory. Display the tree structure of the completed directory structure Display a message saying "All Done, See you next semester" at the end of the script
hello everyone this is a homework prompted from my it class George is really lazy. He thinks it would be really neat if you could set up a PowerShell script that would create his sub-directory structure for his classes for the semester. He wants to have the top level be the semester (.i.e. Fall2017) and have directories for each class under the top level. Each of the class directories will contain sub-directories named Assignments and Notes. He wants the script to ask him for the semester and then for each of the courses he is taking that semester. Build a PowerShell script that will do the following: Ask for the semester and build a directory for the semester Loop and ask for each course for the semester until "end" is entered In side the loop, create a directory for the course under the semester's directory and create 2 sub-directories called Assignments and Notes under each course directory. Display the tree structure of the completed directory structure Display a message saying "All Done, See you next semester" at the end of the script
Chapter7: Working With The Bash Shell
Section: Chapter Questions
Problem 6DE
Related questions
Question
hello everyone this is a homework prompted from my it class
George is really lazy. He thinks it would be really neat if you could set up a PowerShell script that would create his sub-directory structure for his classes for the semester. He wants to have the top level be the semester (.i.e. Fall2017) and have directories for each class under the top level. Each of the class directories will contain sub-directories named Assignments and Notes. He wants the script to ask him for the semester and then for each of the courses he is taking that semester.
Build a PowerShell script that will do the following:
- Ask for the semester and build a directory for the semester
- Loop and ask for each course for the semester until "end" is entered
- In side the loop, create a directory for the course under the semester's directory and create 2 sub-directories called Assignments and Notes under each course directory.
- Display the tree structure of the completed directory structure
- Display a message saying "All Done, See you next semester" at the end of the script
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L