Get-VEODDocument
Short Description
Returns OneDrive documents.
Product: Veeam Backup for Microsoft 365
Product Edition: Community, Rental License, Subscription License
Syntax
This cmdlet provides the following parameter sets:
-
UserGet-VEODDocument [-User] <VBOOneDriveUser> [-Name <String[]>] [-Recurse] [<CommonParameters>]
-
DocumentGet-VEODDocument [-ParentDocument] <VBOOneDriveDocument> [-Name <String[]>] [-Recurse] [<CommonParameters>]
Detailed Description
This cmdlet returns documents that are stored in the OneDrive repository.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Name |
Specifies an array of document names. The cmdlet will return an array of documents with these names. This parameter accepts wildcard characters. |
|
False |
Named |
False |
|
ParentDocument |
Specifies a parent document. The cmdlet will return the child documents of this parent document.
Accepts the |
True |
0 |
True (ByValue) |
|
|
Recurse |
Defines that the cmdlet will return all child items of the specified parent item. Default: False |
|
False |
Named |
False |
|
User |
Specifies OneDrive user. This cmdlet will return documents of the specified OneDrive user.
Accepts the |
True |
0 |
True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Docs.
Output Object
The cmdlet returns the VBOOneDriveDocument object that contains documents that are stored in the OneDrive repository.
Examples
Example 1. Getting Specified User Documents
|
This example shows how to get the
Perform the following steps:
|
Example 2. Getting Specific Child Documents
|
This example shows how to get child documents from the
Perform the following steps:
|
Related Commands
Get-VEODRestoreSessionReturns active restore sessions started to perform operations with backed-up OneDrive items.Get-VEODUserReturns OneDrive users.