Question

Try some sample scripts. Read these two sections as you practice at the PS prompt: Working with...

  1. Try some sample scripts. Read these two sections as you practice at the PS prompt:

    • Working with Files and Folders in PowerShell 6 (Microsoft Documentation, 2018)

    • Working with Files, Folders, and Registry Keys in PowerShell 6 (Microsoft Documentation, 2018)

      1. List all the files and folders within the drive of your choice that have been modified since 01/01/2019, including hidden files and subfolders and their files.

      2. List all PDF format files within the drive of your choice, including subfolders and their files.

      3. Write another script of your choice related to files, folders, and/or permissions.

    • Document your work with the scripts below. Provide screenshots of your command history with an explanation of the function and output of each script.

*I need help doing this on a MAC*

https://docs.microsoft.com/en-us/powershell/scripting/samples/working-with-files-and-folders?view=powershell-6

https://docs.microsoft.com/en-us/powershell/scripting/samples/working-with-files-folders-and-registry-keys?view=powershell-6

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Get-ChildItem C:\ -File -Recurse | Where-Object { $_.LastWriteTime -ge "01/01/2019" -and $_.LastWriteTime -le "03/24/2019" } | select-Object FullName, LastWriteTime

les Attribute Changeruninse08.dat 08/83/2019 11:28:50 AM 08/83/2819 11:28:45 AM Proeran C:Progran Files Attribute Changertuni

if you have any doubt then please ask me without any hesitation in the comment section below , if you like my answer then please thumbs up for the answer , before giving thumbs down please discuss the question it may possible that we may understand the question different way and we can edit and change the answers if you argue, thanks :)

Add a comment
Know the answer?
Add Answer to:
Try some sample scripts. Read these two sections as you practice at the PS prompt: Working with...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please read the article and answer about questions. You and the Law Business and law are...

    Please read the article and answer about questions. You and the Law Business and law are inseparable. For B-Money, the two predictably merged when he was negotiat- ing a deal for his tracks. At other times, the merger is unpredictable, like when your business faces an unexpected auto accident, product recall, or government regulation change. In either type of situation, when business owners know the law, they can better protect themselves and sometimes even avoid the problems completely. This chapter...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT