Deployment Tools for Hyper-V and Powershell

Deployment tools you can use to download Hyper-V images, create networks, and deploy a virtual Conductor and virtual Airwall Gateways.

Before you begin

These deployment tools instructions make the following assumptions:

  • Image directory is C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\""
  • Public network is named vSwitchPublic
  • Protected network is name vSwitchProtected
  • Your work directory hosts the script and the respective variables file. If you don't have a variable file, you can enter options interactively.

Download Hyper-V Powershell deployment tools

To download the deployment tools, enter the following commands:

cd C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\

wget https://temperedsoftware.s3.amazonaws.com/images/hyperv/tnw-hyperv-deployment-tools-2.1.6-86.zip

unzip tnw-hyperv-deployment-tools-2.1.6-86.zip

Create public and private networks

To create networks named vSwitchPublic and vSwitchProtected, enter:

.\hyperv_deploy_network.ps1

Deploy a Conductor

To deploy a Conductor on the vSwitchPublic network, enter:

.\hyperv_deploy_conductor.ps1

Deploy an Airwall Gateway

To deploy an Airwall Gateway with a network adapter on each of the networks vSwitchPublic and vSwitchProtected, enter:

.\hyperv_deploy_hypswitch.ps1
Note: Deploy your protected virtual assets on the vSwitchProtected network.