Get-VBRHvServerVolume
Short Description
Returns volume-specific settings for Microsoft Hyper-V hosts.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Get-VBRHvServerVolume -Server <CHost> [-Type <EVBRHvVolumeType[]>] [-MountPoint <String>] [-VolumeId <Guid>] [<CommonParameters>] |
Detailed Description
This cmdlet returns volume-specific settings for Microsoft Hyper-V hosts.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
MountPoint |
Specifies a mount point of a Microsoft Hyper-V host. The cmdlet will return a Microsoft Hyper-V host with the specified mount point. |
|
False |
Named |
True (ByPropertyName, ByValue) |
|
Server |
Specifies a Microsoft Hyper-V host added to the backup infrastructure. The cmdlet will return the volume-specific settings of this Microsoft Hyper-V host.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Type |
Specifies a type of volume that is added to a Microsoft Hyper-V host. The cmdlet will return Microsoft Hyper-V hosts with the specified types of volumes of the specified types:
|
|
False |
Named |
True (ByPropertyName, ByValue) |
|
VolumeId |
Specifies an ID of the volume that is added to a Microsoft Hyper-V host. The cmdlet will return Microsoft Hyper-V host with the specified volume ID. |
|
False |
Named |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRHvServerVolume object that contains volume-specific settings for Microsoft Hyper-V hosts.
Examples
Getting Volume Settings for Microsoft Hyper-V Hosts
This example shows how to get volume settings for Microsoft Hyper-V hosts. The cmdlet output will contain the following settings Id, ServerId, MountPoint, Type, VssProvider and MaxSnapshots.
|
$server = Get-VBRServer -Name hyperv09.tech.local Get-VBRHvServerVolume -Server $server Id : 5f11f8e1-f10e-43a0-b1ea-b7307c97331a ServerId : 0216cada-ed31-4c33-bdfe-b3b24beda391 MountPoint : C:\ Type : Local VssProvider : Veeam.Backup.PowerShell.Infos.VSSProviderObject MaxSnapshots : 5 Id : 3e1c1860-9632-4b9a-adb1-b70297c9669e ServerId : 617fb448-6aac-47cb-a94c-893eef8dc224 MountPoint : D:\ Type : Local VssProvider : Veeam.Backup.PowerShell.Infos.VSSProviderObject MaxSnapshots : 4 |
Perform the following steps:
- Run the
Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify theNameparameter value. Save the result to the$servervariable. - Run the
Get-VBRHvServerVolumecmdlet. Set the$servervariable as theServerparameter value.
Related Commands
Get-VBRServerReturns hosts connected to the backup infrastructure.