- I reviewed the project located at: (provide link to peer's github): https://github.com/huthbn/it3038c-scripts/tree/main/project2
- I pushed my changes to: https://github.com/lh1207/project2-peer-review-huthbn/tree/master/project2
The goal of the script was to calculate total and remaining storage on a mounted hard-drive.
The documentation was clear
It worked on a Windows 10 virtual machine. However, as a Linux user, I had to make some changes to the script to support the UNIX filesystem, which resulted in my first run being unsuccessful. I was able to run the script after purging the Get-WMIObject cmdlet for the ForEach-Object, only difference being that ForEach-Object support UNIX. This allows the user to see all mounted drives right away instead of guessing. I also had to make slight modifications to the variables responsible for calculating the total and remaining space, but nothing crucial.