Get-WssDrive
Gets an object that represents a drive.
Syntax
Get-WssDrive
[-ID <Guid>]
Description
The Get-WssDrive cmdlet gets an object that represents a drive. Specify a GUID for a specific drive. If you do not specify a GUID, the cmdlet gets Drive objects for all the drives for the current server.
Examples
Example 1: Get all drives
PS C:\> Get-WssDrive
This command gets Drive objects for all the drives for the current server.
Parameters
-ID
Specifies the GUID for a drive.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Drive
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for