Insight and analysis on the information technology space from industry thought leaders.

PowerShell Script to Deploy Veeam Backup & Replication

Here's how to deploy Veeam Backup & Replication 9.5 with Update 3 to a virtual machine.

Veeam Guest Blogger

June 28, 2018

3 Min Read
Veeam backup

In this blog post, I will show you how you can deploy Veeam Backup & Replication 9.5 with Update 3 to a virtual machine. This is a really handy little script because it can help you get Veeam going in your lab in a snap. The basic steps to accomplish this are as follows.

1. Create a virtual machine running Windows Server 2016. In my case, I created a Hyper-V VM called Management01.

Veeam_PowerShell_Deploy_01_0.png

 

2. Download a copy of Veeam Backup & Replication and prepare either an already existing license file or request a trial one from the same download page.

3. In our case, we stored both files in F:Temp1.

Veeam_PowerShell_Deploy_02.png

4. Grab a copy of the PowerShell script from my GitHub repository and save it to the same F:Temp1 location.

5. Open an Administrative PowerShell Prompt and change the path to F:temp1. Then type Import-Module .Install-Veeam-HyperV.PS1 -Force -Verbose and press Enter. This will load the Install-Veeam Module, which we will use to deploy Veeam to our lab.

6. Type Install-Veeam -VMName Management01 -GuestOSName -Management01 -VMPath F:dcbuild_test and run it.

7. On the Please Select the Veeam 9.5 UR3 ISO window, browse to F:temp1VeeamBackup&Replication_9.5.0.1535.Update3.iso. 

Veeam_PowerShell_Deploy_05.png

8. On the Please Select the Veeam License File window, browse to your license file prepared at step 2. In my case, I used my Veeam NFR license.

At this point it is time to sit back and relax as the next steps will happen automatically:

  1. Add a new VHDx file from the host.

  2. Format the new VHDx file and giving it a volume label of Veeam.

  3. Mount the VHDx to the host.

  4. Copy the Veeam ISO specified earlier.

  5. Copy the Veeam license file specified earlier.

  6. Install 2012 System CLR types.

  7. Install SQL Express.

  8. Install the Veeam Backup & Replication 9.5 server.

  9. Install the Veeam Backup Console.

  10. Install the Explorer for Active Directory.

  11. Install the Explorer for Exchange.

  12. Install the Explorer for SQL.

  13. Install the Explorer for Oracle.

  14. Install the Explorer for SharePoint.

  15. Install the Enterprise Manager web and Cloud Portal.

  16. Finally update to Rollup 3.

 

Veeam_PowerShell_Deploy_08.png

Your finished product will look just like this:

Veeam_PowerShell_Deploy_09.png

I hope you enjoyed this post, and please feel free to update my code and use it in your lab. As always, happy learning!

See more

 

dave_kawula.png

Dave Kawula is an Enterprise Consultant, Technology Evangelist, Best Selling Author and all-around geek. He loves Microsoft Technology and is considered one of the best in his field. He holds over 50 + Microsoft Certifications and is also a Microsoft MVP. Dave is also a Senior Technical Evangelist for 5nine Software, Veeam Vanguard, and Nutanix NTC. He can be followed on Twitter.

 

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like