Gather disk facts and select and manage a disk, its partitions and file systems.
The DiskManagement module exports two Cmdlets:
- Get-DiskFacts (alias Get-DiskInfo)
- Edit-Disk (alias Manage-Disk)
For a detailed documentation of this Cmdlets please read the help sections in DiskManagement.psm1. Once the module is installed on your computer you can also display the help in PowerShell:
- Get-Help Get-DiskFacts
- Get-Help Edit-Disk
If you are using Ansible you can have a look at the corresponding Ansible modules of the Cmdlets: