| external help file | SPClientCore.dll-Help.xml |
|---|---|
| Module Name | SPClientCore |
| online version | |
| schema | 2.0.0 |
Retrieves one or more drives.
Get-KshDrive [-Identity] <Drive> [<CommonParameters>]
Get-KshDrive [-DriveId] <String> [<CommonParameters>]
Get-KshDrive [-NoEnumerate] [<CommonParameters>]
The Get-KshDrive cmdlet retrieves drives of the current site. The drive represents a logical container of files, like a document library or a user's OneDrive.
PS C:\> Get-KshDrive -DriveId 'b!vpvKq3kXeEaww1z6NPnGbKhvcv2QlkNIoGE112ESrYtKvAhAPsWLSLhCqJy8wVDu'Retrieves a drive by drive ID.
PS C:\> Get-KshDriveRetrieves all drives.
Specifies the drive ID.
Type: String
Parameter Sets: ParamSet2
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the drive.
Type: Drive
Parameter Sets: ParamSet1
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalseIf specified, suppresses to enumerate objects.
Type: SwitchParameter
Parameter Sets: ParamSet3
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.