This script is to get complete disk details from the endpoint.
Note:
The script uses windows "diskpart" to tool get the details.
This script gives information about Read-only, Hidden, No Default Drive Letter, Shadow Copy, Offline, BitLocker Encrypted, Installable, Volume Capacity and Volume Free Space
Run as Logged in or System user