DriveId Parameter (Connect-OneDrive Cmdlet)
Specifies the unique identifier (Id) of the Microsoft OneDrive drive to query or interact with. Use this property to target a specific drive when multiple drives are available for the authenticated user.
Syntax
Connect-OneDrive -DriveId string
Data Type
cstr
Default Value
""
Remarks
By default, the provider uses the main drive of the logged-in user.
To list all available Drive Ids, query the Drives table.