Get-VETFile
Short Description
Returns files published in Microsoft Teams team channels.
Product: Veeam Backup for Microsoft 365
Product Edition: Community, Rental License, Subscription License
Syntax
This cmdlet provides the following parameter sets:
-
QueryByChannelParameterSetGet-VETFile -Channel <VETChannel> [-Query <String>] [-Recurse] [<CommonParameters>]
-
QueryByFileParameterSetGet-VETFile -Channel <VETChannel> -ParentFile <VETFile> [-Query <String>] [-Recurse] [<CommonParameters>]
-
QueryByOrganizationParameterSetGet-VETFile [-Query <String>] -Organization <VETOrganization[]> [<CommonParameters>]
-
QueryByTeamParameterSetGet-VETFile [-Query <String>] -Team <VETTeam> [<CommonParameters>]
Detailed Description
This cmdlet returns files published in Microsoft Teams team channels. You can get files from the following backed-up sources:
- Microsoft Teams organization
- Microsoft Teams team
- Microsoft Teams channel
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Channel |
Specifies a Microsoft Teams team channel. The cmdlet will return files from this channel.
Accepts the |
True |
Named |
True (ByValue) |
|
|
Organization |
Specifies an array of Microsoft Teams organizations. The cmdlet will return files from these organizations.
Accepts the |
True |
Named |
True (ByValue) |
|
|
ParentFile |
Specifies a folder. The cmdlet will return files from this folder.
Accepts the |
True |
Named |
True (ByValue) |
|
|
Query |
Specifies a query string for file search. The cmdlet will return files that match the search query from the specified organization, team, channel or folder. For more information, see the Appendix A. Item Search Parameters section of the Veeam Backup for Microsoft 365 User Guide. |
|
False |
Named |
False |
|
Recurse |
Defines that the cmdlet will return the specified folder and all files in this folder. Default: False |
|
False |
Named |
False |
|
Team |
Specifies a Microsoft Teams team. This cmdlet will return files from this team.
Accepts the |
True |
Named |
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 VETFile[] array that contains Microsoft Teams files.
Examples
Example 1. Getting Files from Channel
|
This example shows how to get all files from the
Perform the following steps:
|
Example 2. Getting Files from Organization
|
This example shows how to get the
Perform the following steps:
|
Example 3. Getting Files from Team
|
This example shows how to get files from the
Perform the following steps:
|
Related Commands
Get-VBOTeamsItemRestoreSessionReturns active restore sessions started to perform operations with backed-up Microsoft Teams items.Get-VETOrganizationReturns Microsoft Teams organizations added to Veeam Backup for Microsoft 365.Get-VETTeamReturns Microsoft Teams teams.Get-VETChannelReturns Microsoft Teams team channels.