Powershell Assgn 12 for wangyi160

profilepiper99

This week we will discuss working with the filesystem. This include files and directories. We will also briefly describe searching for text inside of files.

YOUR TASKS

  • Write a script that does the following
    • Search a directory (and subdirectories) for all .html files
    • Search each file for the string "Powershell"
    • Copy all file with that string to the a directory called "Powershell Web Pages" on the C drive.


WORK TO SUBMIT

  • Submit your script that you created above
    • 12 years ago
    • 20
    Answer(1)

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      search.ps1
    Bids(0)