Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Objective: To get experience using the PowerShell Application and to practice using files, directories / folders and the file path. Open the PowerShell Application Verify
Objective: To get experience using the PowerShell Application and to practice using files, directoriesfolders and the file path. Open the PowerShell Application Verify that the :Sweet and : itrus do not already exist on your computer. If so delete these items Verify with the Tree command that these directories do not exist on your computer. Take a screen shot and paste it in a WordPad document to verify that these folders do not exist. Save your WordPad document and yourlastname powershelllabrtf Identify it with a label as Screenshot Set up your directory structure. You have directoriesfolders that are subdirectories of the C: drive a C:ISweet b C:Citrus Make those directories using PowerShell exactly as listed on your computer. hint see if you can make them both at the same time on one command line instead of having to use commands points EC if you can do this Take a screenshot of the command line that you used and paste it to your WordPad document with the label ECScreenshot for points extra credit if you chose to do this portion using one command lineoptional Make subdirectories using PowerShell under each parent directory. Create the directory named Apples as a subdirectory of : Sweet and another named grapes under C:ISweet. Create the directory named oranges as a subdirectory of :Citrus and another named lemons under C:XCitrus. Take a Screenshot of your directory structure using the Tree command and paste it to your document. Label it as Screenshot Determine how to create files in your directories with the command line only and not a text editor The explanation for this is called a pipe. Which of the following will create a text file for you? a echo sometext I sometexttxt b echo sometext sometext txt c echo sometext sometexttxt Using what you learned from the step listed above, create the following files from the command line in the given location a In the apples directory make a text file named gala.txt b In the grapes directory make a text file named red.txt c In the oranges directory make a text file named navel.txt d In the lemons directory make a text file named FloridaLemons.txt Take a Screenshot of your directory structure using the Tree command note that it must show the files as well as the directories and paste it to your document. Label it as Screenshot Submit your document into Blackboard in the appropriate topic for credit
Objective: To get experience using the PowerShell Application and to practice using files, directoriesfolders and the file path.
Open the PowerShell Application
Verify that the :Sweet and : itrus do not already exist on your computer. If so delete these items
Verify with the Tree command that these directories do not exist on your computer.
Take a screen shot and paste it in a WordPad document to verify that these folders do not exist. Save your WordPad document and yourlastname powershelllabrtf Identify it with a label as Screenshot
Set up your directory structure. You have directoriesfolders that are subdirectories of the C: drive
a C:ISweet
b C:Citrus
Make those directories using PowerShell exactly as listed on your computer. hint see if you can make them both at the same time on one command line instead of having to use commands points EC if you can do this
Take a screenshot of the command line that you used and paste it to your WordPad document with the label ECScreenshot for points extra credit if you chose to do this portion using one command lineoptional
Make subdirectories using PowerShell under each parent directory.
Create the directory named Apples as a subdirectory of : Sweet and another named grapes under C:ISweet.
Create the directory named oranges as a subdirectory of :Citrus and another named lemons under C:XCitrus.
Take a Screenshot of your directory structure using the Tree command and paste it to your document. Label it as Screenshot
Determine how to create files in your directories with the command line only and not a text editor The explanation for this is called a pipe.
Which of the following will create a text file for you?
a echo sometext I sometexttxt
b echo sometext sometext txt
c echo sometext sometexttxt
Using what you learned from the step listed above, create the following files from the command line in the given location
a In the apples directory make a text file named gala.txt
b In the grapes directory make a text file named red.txt
c In the oranges directory make a text file named navel.txt
d In the lemons directory make a text file named FloridaLemons.txt
Take a Screenshot of your directory structure using the Tree command note that it must show the files as well as the directories and paste it to your document. Label it as Screenshot
Submit your document into Blackboard in the appropriate topic for credit
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started