Move-Item can be used to move files/folder

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
 

This needs to be done in powershell and I feel clueless. Please help.

PowerShell Lab

Directions:

You have been given a zip file containing several subdirectories and within each subdirectory is a PDF and an image file. Your task is to write a script that will move all the PDF files into a directory called PDF and the images into a directory called images. Your script should create the top level folders (images and pdf) and move all the files.

Hints:

  • Move-Item can be used to move files/folders

  • Write-Output($variable) can be helpful in debugging

Need to Submit:

  • your completed PowerShell script as a .ps1 file

  • a screenshot of your successful program output

CSV File:

CSV file to go on is posted here

fname lname phone email
Jennifer Jackson 356-4780-91 Jennifer.Jackson@company.com
Brenda Anderson 467-9326-03 Brenda.Anderson@company.com
Isaiah Rose 071-7022-71 Isaiah.Rose@company.com
Brittany Jordan 241-3146-67 Brittany.Jordan@company.com
Shirley Obrien 463-1168-32 Shirley.Obrien@company.com
Tanner Cook 339-5017-41 Tanner.Cook@company.com
Richard Martinez 101-8919-84 Richard.Martinez@company.com
Scott Russell 409-0132-99 Scott.Russell@company.com
Chris Schultz 962-1157-16 Chris.Schultz@company.com
Thomas Beard 323-1318-05 Thomas.Beard@company.com
Caitlyn Howard 630-4882-53 Caitlyn.Howard@company.com
Emily Montgomery 543-9553-46 Emily.Montgomery@company.com
Jesse Perkins 582-0267-16 Jesse.Perkins@company.com
Angela Parsons 298-2685-48 Angela.Parsons@company.com
Joseph Blankenship 970-7316-60 Joseph.Blankenship@company.com
April Rangel 294-0706-10 April.Rangel@company.com
Elizabeth Raymond 709-1721-99 Elizabeth.Raymond@company.com
Samuel Maldonado 556-5819-00 Samuel.Maldonado@company.com
Lindsey Page 548-5442-12 Lindsey.Page@company.com
Daniel Cross 709-8677-25 Daniel.Cross@company.com
David Golden 766-4982-74 David.Golden@company.com
Diane Cline 300-0412-69 Diane.Cline@company.com
Mandy Turner 767-6240-72 Mandy.Turner@company.com
Joseph Cannon 936-9227-99 Joseph.Cannon@company.com
Jill White 420-8935-72 Jill.White@company.com
Julie Pope 021-1884-79 Julie.Pope@company.com
Kara Cruz 123-8981-96 Kara.Cruz@company.com
Julie Thompson 117-4543-55 Julie.Thompson@company.com
Angel Guzman 125-0029-09 Angel.Guzman@company.com
Christopher Merritt 249-7128-96 Christopher.Merritt@company.com
Nathan Weber 504-4790-46 Nathan.Weber@company.com
Robert Mason 247-7794-50 Robert.Mason@company.com
Brenda Jenkins 946-5467-12 Brenda.Jenkins@company.com
Samantha Dixon 672-4832-04 Samantha.Dixon@company.com
John Norman 666-9035-94 John.Norman@company.com
Jennifer Holmes 392-9246-13 Jennifer.Holmes@company.com
Tiffany Rivera 188-0482-02 Tiffany.Rivera@company.com
Edward Gonzalez 157-1662-48 Edward.Gonzalez@company.com
Joshua Austin 708-2918-48 Joshua.Austin@company.com
John Wells 802-5410-19 John.Wells@company.com
Amy Vang 765-0454-67 Amy.Vang@company.com
Kelly Harper 226-2934-45 Kelly.Harper@company.com
Scott Williams 728-2402-00 Scott.Williams@company.com
Juan Diaz 854-9127-48 Juan.Diaz@company.com
Nicholas Robbins 903-5793-39 Nicholas.Robbins@company.com
Julie Smith 846-9717-31 Julie.Smith@company.com
Raymond Edwards 976-1606-36 Raymond.Edwards@company.com
Kara Reed 006-3181-53 Kara.Reed@company.com
Lori Wyatt 489-0261-82 Lori.Wyatt@company.com
Daniel George 976-8289-36 Daniel.George@company.com
Dustin Moss 175-5943-40 Dustin.Moss@company.com
Paul Kirby 853-8206-70 Paul.Kirby@company.com
Mary Watts 311-5489-94 Mary.Watts@company.com
Kimberly Willis 316-4035-85 Kimberly.Willis@company.com
Randy Davis 804-3070-43 Randy.Davis@company.com
Kevin Anderson 195-1530-40 Kevin.Anderson@company.com
Joanna Martin 511-1300-56 Joanna.Martin@company.com
Melissa Barnes 876-1362-88 Melissa.Barnes@company.com
Alec Williams 406-6258-91 Alec.Williams@company.com
Jessica Cook 229-6020-74 Jessica.Cook@company.com
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-engineering and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY