Get-VBRServer
Short Description
Returns hosts connected to the backup infrastructure.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Get-VBRServer [-Name <String[]>] [-Type <VBRHostType>] [<CommonParameters>] |
Detailed Description
This cmdlet returns hosts connected to the backup infrastructure. You can get the following servers:
- BackupServer
- VC
- ESXi
- VcdSystem
- Scvmm
- HvServer
- HvCluster
- SmbCluster
- SmbServer
- Windows
- Linux
- Cloud
- Local
- SanHost
- Object storage repositories
- Object storage servers
- Microsoft Entra ID tenant
You can get the list of all hosts or narrow down the output to servers of specific type, or search for instances directly by name.
To get VMware objects run the Find-VBRViEntityLooks for VMware objects. cmdlet.
To get Hyper-V objects run the Find-VBRHvEntityReturns Hyper-V objects. cmdlet.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Name |
Specifies the array of host names. The cmdlet will return hosts with these names. |
|
False |
Named |
False |
|
Type |
Specifies the host type. The cmdlet will return hosts of this type:
|
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the CHost object that contains settings of hosts connected to Veeam Backup & Replication.
Examples
Example 1. Looking for Server by Name
|
This command looks for the server named
|
Example 2. Looking for VM Registered on Hyper-V Server
|
This command looks for the VM named
|