Get-WssDisk
Gets an object that represents a disk.
Get-WssDisk
[-ID <Guid>]
[<CommonParameters>]
The Get-WssDisk cmdlet gets an object that represents a disk. Specify a GUID for a specific disk. If you do not specify a GUID, the cmdlet gets Disk objects for all the drives for the current server. You can use the Initialize-WssDisk cmdlet to initialize a disk for sbs_sbs8_1 storage.
PS C:\> Get-WssDisk -ID "26a21bda-a627-11d7-9931-806e6f6e6963"
This command gets the Disk object that has the ID 26a21bda-a627-11d7-9931-806e6f6e6963.
Specifies the GUID for a disk.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Microsoft.WindowsServerSolutions.Storage.Disk
This cmdlet generates the server Disk object.