Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Create a program in PowerShell that will accomplish the following: Get the current date and time in the following format and save it as a

Create a program in PowerShell that will accomplish the following:

  1. Get the current date and time in the following format and save it as a variable:
    1. Day-month-year-hour:minute
  2. Create a directory (in your home account) that contains the year
  3. Create a directory in the new directory created in 2) for the month (/users/dwitten/2017/11)
  4. Create a directory in the new directory created in 3) for the day (/users/dwitten/2017/11/07)
  5. Create an empty file in the directory created in 4) as yourName-savedDate.txt (witten-07-11-2017-18:05.txt

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 11G SQL

Authors: Joan Casteel

2nd Edition

1133947360, 978-1133947363

More Books

Students explore these related Databases questions