Question
Create a script that will display information about disk volumes on the target computer. The script will use the CIM_StorageVolume object class to display the
Create a script that will display information about disk volumes on the target computer. The script will use the CIM_StorageVolume object class to display the drive letter, volume label capacity, available space, and file system for each volume whose drive letter property is not $null. The script will display the capacity in GB and available space in MB. If the volume is the boot volume (the boot volume property is equal to $true), display the text "(Boot Volume)" next to the drive letter. The script output should look similar to the sample output provided in the image below:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started