09: View Connection Server

Create an VM for the VMware View Connection Server

$vm = Get-ResourcePool -Location Servers | New-VM -Name "VCS01" -DiskGB 30 -MemoryGB 4 -NumCpu 2 -NetworkName "VM Network" -GuestId windows8Server64Guest
Get-NetworkAdapter $vm | Set-NetworkAdapter -Type Vmxnet3 -Confirm:$false
Get-ScsiController $vm | Set-ScsiController -Type ParaVirtual -Confirm:$false
Start-VM $vm | Open-VMConsoleWindow -FullScreen

Install Windows 2012 R2 using MDT.

Set the IP address and DNS server

New-NetIPAddress -InterfaceAlias "Ethernet0" -IPAddress 10.0.1.9 -PrefixLength 16 -DefaultGateway 10.0.0.1
Set-DnsClientServerAddress -InterfaceAlias "Ethernet0" -ServerAddresses 10.0.1.5

Set the friendly name of the machine certificate to vdm. The View installation picks up this certificate during installation – if one isn’t present it will generate a self-signed certificate.  The command line below has issues as it assumes that only one certificate exists

$cert = Get-ChildItem Cert:\LocalMachine\My
$cert.FriendlyName = 'vdm'

Open the View Connection Server installer and run through the installation

imageimageimageimage

Install a View Standard Server – this is our first View Connection Server

 

image

Enter a recovery password (in my case the same as my AD password)

 

image

Allow the wizard to configure the Windows firewall

 

image

Set the Domain Admins group to be administrators for View

image

Participate in the experience programme

 

image

Summary and finish

imageimage

Verify that you can signed in as administrator via https://vcs01.mylab.local/admin