Save-VEODDocument
Short Description
Saves OneDrive documents.
Applies to Veeam Backup for Microsoft Office 365
Product Edition: Community, Rental, Subscription
Syntax
This cmdlet provides parameter sets that allow you to:
- Save documents of a specific OneDrive user.
- 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 |
---|---|---|---|---|---|
User | Specifies the OneDrive user that the cmdlet will save documents from. | Accepts the VBOOneDriveUser object. To get this object, run the Get-VEODUser cmdlet. | True | 0 | True (ByValue) |
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) |
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) |
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 ZIP-archive. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters 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.
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