Multiple folders using a do loop and variable

Project 1
Course Title PowerShell
Project Code PWSO v1-1 Project 1
Project Title Power Scripting
Pages 3 ()
Released April 10, 2015
Revised June 2, 2017
Copyright 2017 All rights reserved Page 1
PWSO v1-1 Project 1 2017-0602
Power Shell
Project 1: Power Scripting
INTRODUCTION
You are a network administrator who is responsible for 100 users and 20 servers for a
medium size business. As an administrator who has multiple tasks to get done throughout
the day, you need to develop a to help you manage routine tasks that
you have to take care of everyday. To simplify your administration create a script with
the following objectives
OBJECTIVES
Script that will create multiple folders using a do loop and variable
CREATE MULTIPLE FOLDER SCRIPT GUIDELINES
SETTING UP THE VARIABLES:
Open PowerShell ISE
Create a variable $intfolders that has a value of 10
Create a variable $intPad that has a value of 0
Create a variable $i that has a value of 1
Create a variable for the new folder
o New-Variable Name strPrefix Value testfolder Option
constant
CREATING THE LOOP STATEMENT
Do {
Set If condition
o if ($i -lt 10)
Set Command when Condition is True
o {New-Item path C: -name $strprefix$intpad$i type directory}
Set Command when Condition is False
o else
o {New-Item path C: -name $strprefix$i type directory}
Set $i to increment by 1
o $i++
o Close the Do Statement using }
Copyright 2017 All rights reserved Page 2
PWSO v1-1 Project 1 2017-0602
ADD THE UNTIL STATEMENT TO STOP LOOPING
Until ($i -eq intfolders +1)
SAVE THE SCRIPT AND DEBUG IF IT FAILS
Copyright 2017 All rights reserved Page 3
PWSO v1-1 Project 1 2017-0602
MARKING SCHEME
You will be graded on:
Project component Points
Setting up of variables 20
Creating Folders Script 20
Stopping the Loop 20
Script is Functional 40
The total number of possible points is: 100
PENALTIES
1) For each day that a project is late, 5% will be deducted
2) Projects that are more than three days late will earn a maximum score of 60%

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
1
Need assignment help? You can contact our live agent via WhatsApp using +1 718 717 2861

Feel free to ask questions, clarifications, or discounts available when placing an order.
  +1 718 717 2861           + 44 161 818 7126           [email protected]
  +1 718 717 2861         [email protected]