Recently, my colleague Dave Kaula laid out for public use a script to install Veeam Backup & Replication, which he used to demonstrate the product in his laboratory. The script can be useful to those who are planning to deploy a solution, for example, in a test environment or in an “all on one machine” scenario.
Dave wrote a short accompanying article to the script, which I bring to your attention.
So, welcome under cat.
In this article I will tell how to install Veeam Backup & Replication 9.5 Update 3 on a virtual machine on the Hyper-V platform.
Important! We will perform the installation according to the
“all on one machine” scenario, namely: the backup server Veeam backup server (with SQL Server 2012 Express Edition included in the installation package), as well as the Veeam Backup Enterprise Manager server. Before installation, check that all relevant system requirements described in the
documentation are met. For the account under which the Veeam Backup service will work, it is assumed that you have domain administrator rights.
To install the solution, follow these simple steps:
- Create a virtual machine running Windows Server 2016. For example, I will create a VM in Hyper-V Manager and call it Management01 .
- Download Veeam Backup & Replication from here , then either prepare an existing file with a commercial license, or request a license for a trial version or NFR . In our case, both files are already stored in the folder F: \ Temp1 .
- In the same folder we save this script .
- Open the PowerShell command line (Administrative PowerShell Prompt) and specify the path F: \ Temp1 , then enter the command:
Import-Module .\Install-Veeam-HyperV.PS1 -Force -Verbose
After that, the Install-Veeam module will be loaded, which we will use to install Veeam Backup & Replication.

- Execute the command:
Install-Veeam -VMName Management01 -GuestOSName -Management01 -VMPath F:\dcbuild_test
- In the window that opens, select the file VeeamBackup & Replication_9.5.0.1536.Update3.iso in the folder F: \ temp1 .
- Then, in the license file selection window, open the license file from step # 2. I will use my Veeam NFR license.
- An account entry window will appear. As already mentioned, in the test environment, Veeam Backup often assigns an account with domain administrator rights, and this example is not an exception. Enter the username and password, in this example I use the account MVPDays \ Administrator .
- After this, a fully automated sequence of actions begins, so you just have to wait for the result.
Here is what the script does:
1) Add a new VHDx file from the host
2) Fulfills its naming (calls the new volume
Veeam )
3) Mounts a new VHDx on a host
4) Copy the Veeam ISO image
5) Copy Veeam license file
6) Installs 2012 System CLR types
7) Install SQL Server 2012 Express Edition
8) Installs Veeam Backup & Replication 9.5 Server
9) Installs the Veeam Backup Console Console
10) Install Veeam Explorer for Active Directory
11) Installs Veeam Explorer for Exchange
12) Installs Veeam Explorer for SQL
13) Installs Veeam Explorer for Oracle
14) Installs Veeam Explorer for SharePoint
15) Installs Veeam Enterprise Manager (web and Cloud Portal)
16) Install Update Update 3
After the script is completed, the familiar to you dialogue of launching Veeam Backup & Replication appears:
I hope my humble work will be useful to you. Successful work!
Additional links
Source PowerShell ScriptArticle on Habré with review of Veeam Backup & Replication 9.5 Update 3The free PowerShell Basics video tutorial from our colleague T. DevinArticle on Habré about using PowerShell to work with Veeam Backup Free Edition