Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

Find-VBRViFolder

Short Description

Looks for folders on a specified ESX(i) host.

Applies to

Platform: VMware

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

Find-VBRViFolder -Server <CHost> [-Name <String[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

Detailed Description

This cmdlet returns folders on a specified ESX(i) host.

You can get the list of all folders on the specified ESX(i) host or look for instances directly by name.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Server

Specifies the ESX(i) host on which you want to look for folders.

True

Named

True (ByValue,
ByProperty
Name)

False

Name

Specifies the array of folder names. The cmdlet will return folders with these names.

False

Named

False

True

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

CViFolderItem

Example 1

This command looks for all folders located on the ESXi host named 'Server01'. The server is obtained with Get-VBRServer, sorted by name and piped down.

PS C:\PS> Get-VBRServer -Name "Server01" | Find-VBRViFolder

Example 2

This command looks for a folder named 'Weekly_Reports' located on the ESXi host named 'Server01'. The server is obtained with Get-VBRServer, sorted by name and piped down.

PS C:\PS> Get-VBRServer -Name "Server01" | Find-VBRViFolder -Name "Weekly_Reports"

Example 3

This command looks for folders named 'Weekly_Reports' and 'Monthly_Reports' located on the ESXi host named "Server01". The server is obtained with Get-VBRServer and assigned to '$server01' variable.

PS C:\PS> $server01 = Get-VBRServer -Name "Server01"

PS C:\PS> Find-VBRViFolder -Server $server01 -Name "Weekly_Reports", "Monthly_Reports"

Related Commands

Get-VBRServer

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Endpoint Backup Documentation

Veeam Management Pack Documentation