CmdID / PowerShell / Cmdlets / Set
Set-Disk
Takes a Disk object or unique disk identifiers and a set of attributes, and updates the physical disk on the system. Windows Server PowerShell reference
From the Windows Server PowerShell reference 12 parameters Its page in the reference
Parameters
-AsJobRuns the cmdlet as a background job.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-GuidContains a globally unique ID (GUID).-InputObjectSpecifies the input object that is used in a pipeline command.-IsOfflineSpecifies that the disk is offline.-IsReadOnlySets the disk to be read-only, or read-write (read-only = false).-NumberSpecifies a disk number on which the cmdlet acts.-PartitionStyleSpecifies the type of the partition.-PathContains the device instance path.-SignatureContains the signature of the disk.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-UniqueIdSpecifies an ID used to uniquely identify a Disk object in the system.