Asked by jerzeykat
Need a Microsoft PowerShell program that will accomplish the...
Need a Microsoft PowerShell program that will accomplish the following:
1) Get the current date and time in the following format and save it as a variable:
2) Make a directory (in your home account) that contains the year
3) Make a directory in the new directory created in 2) for the month (/users/dwitten/2017/11)
4) Make a directory in the new directory created in 3) for the day (/users/dwitten/2017/11/07)
5) Make an empty file in the directory created in 4) as yourName-savedDate.txt (witten-07-11-2017-18:05.txt
Answer & Explanation
Unlock full access to Course Hero
Explore over 16 million step-by-step answers from our libraryGet answer
Our verified expert tutors typically answer within 15-30 minutes.