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
Get step-by-step solutions from verified subject matter experts
