Save-VEODDocument
Short Description
Saves OneDrive documents.
Applies to
Veeam Backup for Microsoft 365
Product Edition: Community, Rental License, Subscription License
Syntax
This cmdlet provides parameter sets that allow you to:
- Save documents of a specific OneDrive user.
Save-VEODDocument [-User <VBOOneDriveUser>] [-Path <String>] [-AsZip] [<CommonParameters>] |
- Save a specific OneDrive document.
Save-VEODDocument [-Document <VBOOneDriveDocument[]>] [-Path <String>] [-AsZip] [<CommonParameters>] |
- Save documents of the multiple OneDrive users.
Save-VEODDocument [-MultipleUsers <VBOOneDriveUser[]>] [-Path <String>] [-AsZip] [<CommonParameters>] |
Detailed Description
This cmdlet saves OneDrive documents.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Document | Specifies an array of OneDrive documents that you want to save. | Accepts the VBOOneDriveDocument[] object. To get this object, run the Get-VEODDocument cmdlet. | True | 0 | True (ByValue) |
Path | Specifies a path to the folder. The cmdlet will save the OneDrive document to the specified path. | String | True | 1 | False |
AsZip | Defines that the cmdlet will save the specified document as a ZIP archive. Default: False | SwitchParameter | False | Named | False |
User | Specifies OneDrive user. The cmdlet will will save documents of this user. | Accepts the VBOOneDriveUser object. To get this object, run the Get-VEODUser cmdlet. | True | 0 | True (ByValue) |
MultipleUsers | Specifies an array of OneDrive users. The cmdlet will save documents of the specified users. | Accepts the VBOOneDriveUser[] object. To get this object, run the Get-VEODUser cmdlet. | True | 0 | True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Examples
Example 1. Saving OneDrive Document of Specific User
This example shows how to save all OneDrive documents of the userAlpha user to the ZIP archive file.
Perform the following steps:
|
Example 2. Saving Specific OneDrive Document
This example shows how to save the document.txt OneDrive document from the userAlpha user.
Perform the following steps:
|
Example 3. Saving Documents of Multiple OneDrive Users
This example shows how to save OneDrive documents from multiple users.
Perform the following steps:
|
Related Commands