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

Add-VSBHvVirtualLab

Short Description

Creates a Hyper-V virtual lab.

Applies to

Platform: Hyper-V

For VMware, run Add-VSBVirtualLab.

Product Edition: Enterprise, Enterprise Plus

Syntax

Add-VSBHvVirtualLab -Name <String> -Server <CHost> -Folder <String> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

Detailed Description

This cmdlet creates a new Hyper-V virtual lab.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Name

Specifies the name you want to assign to the virtual lab.

True

Named

False

False

Server

Specifies the Hyper-V host where the virtual lab should be created.

True

Named

False

False

Folder

Specifies the path to the folder where the redo log files of the virtual lab will be stored.

True

Named

False

False

<CommonParameters>

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

Example

This command creates a new virtual lab named "Exchange VLab 01". The server where the virtual lab will be located is obtained with Get-VBRServer and assigned to the $server variable beforehand. The folder path to store the redo files is c:\VirtualLabs.

PS C:\PS> Add-VSBHvVirtualLab -Name "Exchange VLab 01" -Server $server -Folder "c:\VirtualLabs"

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 Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation