Windows Server 2016 Upgrade Guide -How To-All About

Windows Server 2012 to 2016 Upgrade Guide -How To

Upgrade Requirments.

Upgrading previous retail versions of Windows Server to Windows Server 2012 R2

 The table below briefly summarizes which already licensed (that is, not evaluation) Windows operating systems can be upgraded to which editions of Windows Server 2012 R2.

Note the following general guidelines for supported paths:

  • In-place upgrades from 32-bit to 64-bit architectures are not supported. All editions of Windows Server 2012 R2 are 64-bit only.
  • In-place upgrades from one language to another are not supported.
  • In-place upgrades from one build type (fre to chk, for example) are not supported.
  • If the server is a domain controller, see http://technet.microsoft.com/library/hh994618.aspx for important information.
  • Upgrades from pre-release versions of Windows Server 2012 R2 are not supported. Perform a clean installation to Windows Server 2012 R2.
  • Upgrades that switch from a Server Core installation to the Server with a GUI mode of Windows Server 2012 R2 in one step (and vice versa) are not supported. However, after upgrade is complete, Windows Server 2012 R2 allows you to switch freely between Server Core and Server with a GUI modes. For more information about these installation options, how to convert between them, and how to use the new Minimal Server Interface and Features on Demand, see http://technet.microsoft.com/library/hh831786.

If you do not see your current version in the left column, upgrading to this release of Windows Server 2012 R2 is not supported.

If you see more than one edition in the right column, upgrade to either edition from the same starting version is supported.

Upgrade Windows Server 2012 to Windows Server 2016

1. Download Windows 2016 ISO from Microsoft site

2. Mount Windows Server 2016 ISO on Windows 2012 R2 Domain controller.

3. Log in to Windows Server 2012 and plug the media file (DVD, Flash memory, etc) to the server. Open the file explorer and double click on the DVD Drive to run the Windows Server 2016 setup.

This PC

4. Select Download & install updates to let the installation go on smoothly and mark, I want to help make installation of Windows better. Click on Next button.

Install Updates

s

5. Select an edition of Windows Server 2016 which meets your organization requirements. Also, in the future you may enlarge your network and need more roles and license support for your network computers. Click on Next button.

Windows Server 2016 editions

6. Read the notes and license terms. If you don’t like, clicking on Decline button, you can go back. If you agree, click on Accept button.

Accept the term

7. If you choose the edition same as the edition you used currently, you can keep your apps and files. As mentioned before if you don’t choose the right edition you can’t keep your apps and files. Select Keep personal files and apps if you’re using the same edition or select Nothing to erase everything. Then click on Next button.

Choose what to keep

Installing Windows Server 2016

7. The Windows Server automatically checks your system and finds if your server is compatable, so just click on Install button to start the installation.

Install Windows Server

Be patient It will take some time to install Windows server 2016 on your existing system. there will be a few restarts until the installation completes.

Installation process

7. Specify Keyboard setting. Keep Default for English.  Click on Next to continue

Region, preferred language, keyboard

8. Read the ELA license terms  on Accept button.

Accept License terms

9. The user will default to Administrator. You will be required to set a  complex password (a password composed of lowercase letters, uppercase letters, numbers and symbols) and reenter you password. Then click on Finish to conntinue. 

Password

10.  Click on  Ctrl+Alt+Del buttons and sign in with the password you had entered before in previous section.

Press Ctrl+Alt+Del buttons

Welcome to Windows server 2016. You have upgraded Windows server 2012 to Windows server 2016.There are a lot the latest improvements in Windows 2016 Server Release.

Reference.

BTHHD -Upgrade Windows Server 2012 R2 to Windows 2016 Upgrade Guide.

 

NLB Solution Windows 2016 Step by Step Guide. 

Windows 2016 Server Upgrade
https://technet.microsoft.com/en-us/windowsserver/dn527667.aspx

Server role upgrade and migration matrix for Windows Server 2016:
https://technet.microsoft.com/en-us/windows-server-docs/get-started/server-role-upgradeability-table

Windows Server 2016 and Microsoft Server Application Compatibility:
https://technet.microsoft.com/en-us/windows-server-docs/get-started/server-application-compatibility

Windows 2016 Download Link
https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2016

vSphere Update Manager 6.0 Patch and Upgrade Management Guide

VUM Getting Started
vSphere Update Manager(VUM) is a utility that oversees the installation of updates for existing installations of VMware ESX Server and guest operating systems. Update Manager tracks vulnerabilities within the virtual infrastructure and automatically applies user-defined patches to eliminate those vulnerabilities.

Why leverage vSphere Update Manager in Vsphere environment?

  • Facilitate upgrades and patching of ESX Server installations, guest operating systems,
    and application 
  • Helps establish a consistently secure and patched environment.
  • Out of the box single Vsphere Patching Solution 

Assumptions-Prerequisite Requirements.
• vSphere vCenter 5.5, 6.0, or 6.5 has been installed.
• vSphere Update Manager(VUM) 5.5, 6.0 or 6.5 has been installed.
• vSphere Update Manager(VUM) Client installed.

Please reference vCenter and VUM installation guide sections if none of the 1.2 has been completed.

Download VMware Update Manager Patch Managment Guide Below.
VMware_VcenterUpdateManager.6.0Patch_Guide

Great Video Tutorial Host Upgrade Using Update Manager.

Using Powercli to Upgrade ESXI Host to ESXI 6.0.0 Update 2

Reference

 Updating an ESXi/ESX host using VMware vCenter Update Manager 4x,5x,and 6x. 

 VUM Administration Guide.

ESXI Patching via PowerCli

ESX 6.0.0 Update 2 Download

vCenter 6.5 Installation Guide

What is Vcenter?

VCenter Server provides centralized management and operation, resource provisioning and performance evaluation of virtual machines residing on a distributed virtual data center.
VMware VCentre Server is designed primarily for VSphere,

 

vcenter2

1.1      Target Audience/Purpose/Scope:

This document is targeted installation of  Vmware Vsphere 6.0 vCenter Server.

The purpose and scope in implementing vCenter 6.0 Server to leverage

  • Storage VMotion,
  • VMware High Availability (VMHA),
  • VMware Distributed Resource Scheduler (DRS).
  • Deploy from Template
  • Clone VM to Template
  • Systems Prep Virtual Machine Provisioning. .

 

1.2 Prerequisite requirements

  1. Download VMware-VIMSetup-all-6.5.0-4602587 from VMware download(Click On Link)
  2. Windows 2012 R2 OS
  3. Min CPU, RAM and Disk requirements
    CPU x 2, RAM 2G to 8G, and Disk 50 G
  4. vCenter Host DNS -FQDN and AD Membership Registered to both AD and DNS. i.e

Vcenter 6.5 Installation Guide on Windows Server 2012 R2


Click Here Download Guide.
vmware_vCenter6.5_install_Guide

Video Tutorials

VMware vSphere Vcenter 6.5 on Windows 2012 R2- Installation
Coming Soon!!!!

VMware vSphere VCSA 6.5 Installation
Coming Soon!!!!

 

1.3 Reference:

New in Vsphere 6.5 –Vcenter server

VMware vSphere 6.5 Documentation

 Installing vCenter Server 6.5 on a Windows Server 2012 R2 system

Stopping, starting, or restarting VMware vCenter Server 6.x services 

VMware NSX-

Image result for what is nsx ?

 What is VMware NSX?

VMware NSX is a virtual networking and security software product family created from VMware’s vCloud Networking and Security (vCNS) and Nicira Network Virtualization Platform (NVP) intellectual property.

 

Check out the Vmware NSX Video Series 

Download the NSX Installation Guide 

VMware NSX 6.2 for vSphere Step-By-Step Installation

Pre-requisites
A properly configured vCenter Server with at least one cluster.
(2) Clusters consist 
(1) Management Cluster
1(1) Cluster -General Use
Cluster should have at least (2) hosts.
Distributed Virtual Switches (DvSwitch) .
vLAN on physical network utilize for VXLAN.Configuration Inventory
vCenter 6.0
(3) Clusters
Management Cluster with (2) vSphere ESXi 5.5 U2 Hosts
(at least -32GB Memory)
Cluster only DvSwitch using NIC Teaming
Services Cluster with (4) vSphere ESXi 6.0 U2 Hosts
(196GB Memory)
Cluster only DvSwitch using LAG.

Installing the NSX for vSphere 6.2.OVA
Image result for nsx vmware manager virtual appliance

vSphere 6.5  Release -What Is New?

vSphere 6.5  Release -What Is New?

 

 

 

 

 

Download VMware vSphere 6.5 Technical White Paper

vSphere 6.5- Technical Overview

1. ESXI Virtual Server

2. Vcenter Server
*Migration
*Improved Appliance Management
*VMware Update Manager
*Native High Availability
*Built-in Backup / Restore
Performance Improvement in both vSphere Web Client  and
fully supported HTML5-based vSphere Client.

a. Migration
*vCenter Server Appliance built in installer Migration Tool.
*Migration Tool has several improvements over the recently released vSphere 6.0 Update 2m release.
Supported on Windows vCenter Server 5.5 and 6.0
( If you’re currently running a Windows vCenter Server 6.0, this is your chance to get to the vCenter Server Appliance using this Migration Tool. )

The Migration tool which allows for more granular selection of migrated data as follows:
*Configuration
*Configuration, events, and tasks
*Configuration, events, tasks, and performance metrics
*VMware Update Manager (VUM) is now part of the vCenter Server Appliance.
*Vcenter Inventory, and alarm data is migrated by default.

This will be huge for customers who have been waiting to migrate to the vCenter Server Appliance without managing a separate Windows server for VUM.

If you’ve already migrated to the vCenter Server Appliance 6.0 the upgrade process will migrate your VUM baselines and updates to the vCenter Server Appliance 6.5. 

*Improved Appliance Management
Another exclusive feature of the vCenter Server Appliance 6.5 is the improved appliance management capabilities. The vCenter Server Appliance Management Interface continues its evolution and exposes additional health and configurations. This simple user interface now shows Network and Database statistics, disk space, and health in addition to CPU and memory statistics which reduces the reliance on using a command line interface for simple monitoring and operational tasks.
*vCenter Server High Availability

*Active, Passive, and Witness nodes which are cloned from the existing vCenter Server.
*Failover within the vCenter HA cluster can occur when an entire node is lost (host failure for example) or when certain key services failures.
*vCenter Server 6.5 has a new native high availability solution that is available exclusively for the vCenter Server Appliance.
Backup and Restore
*Built-in backup and restore for the vCenter Server Appliance.
*Running embedded with the appliance.
*This new out-of-the-box functionality enables customers to backup vCenter Server and Platform Services Controller appliances directly from the VAMI or API, and also backs up both VUM and Auto Deploy.

vSphere Web Client
*Support based on the Adobe Flex platform and requires Adobe Flash.
*HTML5-based vSphere Client:
*Inventory tree is the default view
*Home screen reorganized
*Renamed “Manage” tab to “Configure”
*Removed “Related Objects” tab
*Performance improvements (VM Rollup at 5000 instead of 50 VMs)
*Live refresh for power states, tasks, and more!

vSphere Client
*Supported version of the HTML5-based vSphere Client
*Built in vSphere Client is built with  vCenter Server 6.5 (both Windows and Appliance)
*Clean, consistent UI built on VMware’s new Clarity UI standards
*Built on HTML5 so it is truly a cross-browser and cross-platform application
*No browser plugins to install/manage
*Integrated into vCenter Server for 6.5 and fully supported
*Fully supports Enhanced Linked Mode
*Users of the Fling have been extremely positive about its performance

3. Auto deploy

Auto Deploy 6.5 GUI Configuration. We will now walk through the new Auto Deploy GUI and create a custom ESXi image with deploy rules to boot ESXi hosts.

4. Reference

a. What’s New in vSphere 6.5 -vCenter Server
b. What’s New in vSphere 6.5- ESXI Host

c. What is New in vSphere 6.5-Technical Overview Guide
d. What’s New in vSphere 6.5

 

 

Vsphere Update Manager Installation Guide

What is Vsphere Update Manager?

VMware Update Manager is a utility that oversees the installation of updates for existing installations of VMware ESX Server and guest operating systems. Update Manager tracks vulnerabilities within the virtual infrastructure and automatically applies user-defined patches to eliminate those vulnerabilities.

Image result for vcenter 6.0


VUM Getting Started

vSphere Update Manager 6.0 Installation Guide.

1.1      Target Audience/Purpose/Scope:

This document is targeted installation of   Vsphere Update Manager 6.0 Server.

The installation of updates manager provide management of installations of VMware ESX Server and guest operating systems. Update Manager tracks vulnerabilities within the virtual infrastructure and automatically applies user-defined patches to eliminate those vulnerabilities.

1.2 Prerequisite requirements

  1. Download VMware-VIMSetup-all-6.0 VMware download(Click On Link)
  2. Existing vCenter 6.0 Installed Environment.
  3. Windows 2012 R2 OS
  4. Min CPU, RAM and Disk requirements
    CPU x 2, RAM 8G, and Disk 128G Storage (if installed on a Windows vCenter)
  5. (vCenter Host DNS -FQDN and AD Membership Registered to both AD and DNS.
  6. .NET Framework 3.5 Component

Vsphere Update Manager Installation Guide
On Windows 2012 R2-

Click Here Download Guide.

vSphere_UpdateManager_Install_Guide

Great Video Tutorial  by  ESX Virtualization – vladan.fr

Great Video Tutorial by VMware KB

Screenshot of VUM(vSphere Update Manager)

VUM -vSphere Update Manager Server.

1.3 Reference

Vcenter 6.0 Requirements for Installation

vSphere Update Manager 6.0

Installing vsphere Update Manager 6.0 on a Windows Server 2012 R2 system

 VMware vSphere ESXi and vCenter Server 6.0 Documentation

VMware vSphere Update Manager 6.0 (VUM) – Lab time

Vcenter 6.0-Installation Guide

What is Vcenter?

VCenter Server provides centralized management and operation, resource provisioning and performance evaluation of virtual machines residing on a distributed virtual data center.
VMware VCentre Server is designed primarily for VSphere,

Image result for vcenter 6.0

 

vcenter2

Vcenter 6.0 Installation Guide.

1.1      Target Audience/Purpose/Scope:

This document is targeted installation of  Vmware Vsphere 6.0 vCenter Server.

The purpose and scope in implementing vCenter 6.0 Server to leverage

  • Storage VMotion,
  • VMware High Availability (VMHA),
  • VMware Distributed Resource Scheduler (DRS).
  • Deploy from Template
  • Clone VM to Template
  • Systems Prep Virtual Machine Provisioning. .

 

1.2 Prerequisite requirements

  1. Download VMware-VIMSetup-all-6.0.0.-2656757 from VMware download(Click On Link)
  2. Windows 2012 R2 OS
  3. Min CPU, RAM and Disk requirements
    CPU x 2, RAM 2G to 8G, and Disk 50 G
  4. vcenter Host DNS -FQDN and AD Membership Registered to both AD and DNS. i.e

Vcenter 6.0 Installation Guide on Windows 2012 R2-

Click Here Download Guide.

Vcenter_6.0_Installation_Guide

Video Tutorial by VMware KB TV

Installation vCenter Server 6.0 with an embedded Platform Service Controller on Windows Machine.

Install vCenter 6.0 Platform Service Controller

Screenshot Example of Vcenter Server

1.3 Reference

Vcenter 6.0 Requirements for Installation-https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2107948

 Upgrade to vCenter Server 6.0 Best Practices -2109772
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2109772

Installing vCenter Server 6.0 on a Windows Server 2012 R2 system
http://www.vladan.fr/vsphere-6-0-vcenter-server-6-windows-2012-r2/

 VMware vSphere ESXi and vCenter Server 6.0 Documentation
http://pubs.vmware.com/vsphere-60/topic/com.vmware.vsphere.install.doc/GUID-7C9A1E23-7FCD-4295-9CB1-C932F2423C63.html

Create USB Bootable ESXi Installation Media

What is USB Bootable ESXI Media?
The alternative boot media through USB device to install ESXI.
Create a bootable USB drive for ESXi Installation Media- alternative method if blade doesn’t have DVD/CD ROM drive. You can use USB drive boot to ESXi or to install it locally on your system.
Installing from a USB drive is much simpler and quicker then burning the provided ISO to a CD.
To create the bootable ESXi drive you will need a few things.
  •  Flash drive.
  •  ESXi (your version) .ISO.
  •  Rufus Software
  •  USB flash drive
1. How to Steps.
a. Click to download ESXi installation ISO Media from VMware
b. Click  on download rufus .
c. Open rufus
d. Insert your USB drive
e. Select your USB drive from rufus
f.  Click Start
ESXI .6.5 USB Flash Drive Build

2. Click Yes to download the updated file  to skip this step the USB key will not boot
3. Click Ok to confirm you intend to overwrite the flash drive.

4. Boot up Bare Metal System

Dell IDRAC
5. Boot Menu Option- USB Front USB Flash Drive.

ESXI 6.0 Single Host Installation 

Step a. Select ESX-6.0 Standard Installer.
v6install

 

 

 

 

 

Step b.  ESXI 6 Installer Loading

v6install2

 

 

 

 

Step c. ESXI 6 Installer Loading Modules..

v6install3

 

 

 

 

 

Step d.  ESXI 6.0 Installer HCL Welcome Page.-Click Continue.

v6install4

 

 

 

 

 

Step e. ESXI 6.0 Installer EULA.-Click F11 To Accept and Continue

v6install5

 

 

 

 

 

 

Step f. Select VMFS partition -Local- Press Enter to Continue.

v6install6

 

 

 

 

 

 

Step g. Select Keyboard Layout- Default US.-Press Enter to Continue.

v6install7

 

 

 

 

 

 

 

Step h. Enter a root password- and Press Enter to Continue. 

v6install8

 

 

 

 

 

 


Step i. Installing ESXI 6.0.0 ..

v6install10

 

 

 

 

Step j-ESXI 6.0 Installation Complete.

v6install12

 

 

 

 

 

 

Step k.-ESXI Single Host Installation

Newly Install ESXI 6.0 Installation on DELL Blade via ESXI USB Boot -able Media

4. Reference
a.  Rufus software -create bootable USB drives 
 http://rufus.akeo.ie/
c. Install ESXi 6 to USB as Destination or Have it as Source (USB installer)http://www.vladan.fr/install-esxi-6-to-usb-as-destination-or-have-it-as-source/
f. Installing ESXi 5.x on a supported USB flash drive or SD flash card (2004784) 
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2004784

Remote Desktop Protocol Client On Linux –

How to use xRDP for remote access to Ubuntu

Related imagecentos_windows_rhel-gif

Screenshot of RDP session from Windows Machine 10 to Ubuntu Workstation. 

rpdsession

To remotely control my Windows machines, I always prefer to use RDP (Remote Desktop Protocol) as it performs much nicer than VNC (Virtual Network Computing). VNC has this streak of “JPEG” quality and slow behavior, whereas RDP is fast and crystal clear.RDP is however a proprietary protocol from Microsoft. So how can we use RDP to control our Ubuntu box remotely?

This is where xRDP comes in play, an open source remote desktop protocol (RDP) server. It actually runs VNC protocol over RDP as far as I understand, yet if behaves much better than VNC by itself (possibly because of the used desktop manager). Since Ubuntu 12.10 (if I’m not mistaken), xRDP doesn’t seem to work with the Ubuntu desktop anymore … unless you use an alternative desktop manager. This seems related to 3D acceleration and nobody seems to care (since 2011, according to bug reports).

Note : if you really need Copy/Paste functionality between the two machines, then please use Ubuntu’s default installed “Desktop Sharing” instead (MacOS X users read this forum post).
Desktop Manager

Since the current desktop manager of Ubuntu (Unity which runs on Gnome) no longer seems to work with xRDP, an alternative desktop manager needs to be installed.

I tried OpenBox, but wasn’t very impressed by the amount of work needed to get a reasonable desktop.

We will use another desktop manager that has been around for quite a long time is XFCE, which is lightweight and fast.

Note : A light weight desktop manager helps making a remote desktop connection much more enjoyable.
Installing xRDP and XFCE

Installing xRDP and XFCE is pretty easy, once you know what to do …

Just make sure you have an Internet connection before you start.

Step 1 – Install xRDP

We will use sudo and apt-get to update your system and install xRDP. Keep in mind that sudo will ask for your admin password.
sudo apt-get update
sudo apt-get install xrdp
Step 2 – Install XFCE4

Again we will use sudo and apt-get:
sudo apt-get install xfce4
Optional, recommended by Neal, install XFCE4 terminal and 2 icons sets:

# Install XFCE4 terminal (way better than xterm)
sudo apt-get install xfce4-terminal

# Install icon sets
sudo apt-get install gnome-icon-theme-full tango-icon-theme
Step 3 – Configure xRDP

In this step we modify 2 files to make sure xRDP uses xfce4.

First we need to create or edit our .xsession  file in our home directory.
We can either use nano or simply redirect an echo statement (easier):

echo xfce4-session >~/.xsession
The second file we need to edit is the startup file for xRDP, so it will start xfce4.

vi /etc/xrdp/startwm.sh
The content should look like this (pay attention to the last line):

#!/bin/sh

if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG LANGUAGE
fi

startxfce4
Step 4 – Restart xRDP

To make all these changes effective, restart xRDP as such:
sudo service xrdp restart
Testing your xRDP connection

On the computer that will remotely control your Ubuntu machine, start you RDP client.

Windows comes standard with a Remote Desktop client (mstsc.exe – you can start it from a command prompt, or find the shortcut to Remote Desktop under Accessories).

For a Mac, Microsoft actually has a Remote Desktop Client which can be found in the Apple App Store, or you can use Cord (free).

Whichever client you use, most work with either the computer network name or IP address of your Ubuntu machine.

 

Depending on your RDP client capabilities and settings (for example: Microsoft RDP Client allows automatic login), you might or might not see the login screen.

Here we enter our Ubuntu username and password and click “OK”, after which briefly a window will show with the login process and you’ll have access to your Ubuntu machine, even though the desktop looks different. One downside I’ve discovered so far is that the clipboard is NOT being synchronized … so Copy and Paste between machines does not work properly.

rdpsession1

xRDP - Login screen

xRDP – Login screen

rdp2

xRDP – Your Ubuntu xfce4 desktop

 

Reference:
Remote Desktop on Linux
http://www.tweaking4all.com/software/linux-software/use-xrdp-remote-access-ubuntu-14-04/

Deploy Virtual Machine In Vsphere – As Static or DHCP IP Address-VMware PowerCLI,

Deploy Virtual Machine in VSphere- via Static IP or DHCP by script in VMware PowerCLI,

virtualmachine

 Prerequisites Requirements

  • Virtual Machine Windows Template
  • VMware Customization Wizard Profile.
  • IP Address
  • Subnet
  • Gateway

Deploy Virtual Machine with specific Static IP Address.

powercli

deplolyviastaticip

deployfromstatic

csvdeployfromtemplate

Core Script Method= Set-OSCustomizationNicMapping -IpMode UseStaticIp
‘Modifying the customization file with the network information you specified in the CSV’
  Get-OSCustomizationSpec $Customization | Get-OSCustomizationNicMapping | Set-OSCustomizationNicMapping -IpMode UseStaticIp -IpAddress $IPAddress -SubnetMask $Subnetmask -DefaultGateway $DefaultGW

Core Script Method= Set-OSCustomizationNicMapping -IpMode DHCP
Get-OSCustomizationSpec $Customization | Get-OSCustomizationNicMapping | Set-OSCustomizationNicMapping -IpMode

Powercli Code Sample

‘Beginning Script’
‘Loading Snapins’
function LoadSnapin{
param($PSSnapinName)
if (!(Get-PSSnapin | where {$_.Name   -eq $PSSnapinName})){
Add-pssnapin -name $PSSnapinName
}
}
LoadSnapin -PSSnapinName   “VMware.VimAutomation.Core”
‘Reading CSV file’
$vms = Import-CSV C:\Users\richard\Documents\newvms1.csv
‘Reading the contents of the CSV, and for each line execute the following code’
foreach ($vm in $vms){
‘Declaring variables that correspond to the column names in the CSV’
$VMName = $vm.name
$VMHost = Get-VMHost $vm.host
$Datastore = Get-Datastore $vm.datastore
$Template = Get-Template $vm.template
$Customization = $vm.customization
$IPAddress = $vm.ipaddress
$Subnetmask = $vm.subnetmask
$DefaultGW = $vm.defaultgw
$DNS1 = $vm.dns1
$DNS2 = $vm.dns2
# $WINS1 = $vm.wins1
# $WINS2 = $vm.wins2’Modifying the customization file with the network information you specified in the CSV’
Get-OSCustomizationSpec $Customization | Get-OSCustomizationNicMapping | Set-OSCustomizationNicMapping -IpMode UseStaticIp -IpAddr
 ‘VMWare Automated Template Deployment Script
Script and Code was borrowed from the following smart people to help with learning journey.
Luc Dekens, Vmware blog.
Powershell and Linux OS Deploy Virtual Machine via Powershell DSC Linux -Coming Soon!!!!

redhatUbuntulogosuse

References:

  1. Great Video Tutorial Overview of Using Templates and Clone methods in Vsphere. 

2. VMware Technology Network

3. vSphere PowerCLI Cmdlets Reference Get-OSCustomizationSpec

4. Working with Customization Specifications in PowerCLI

5. Powershell and Linux Integration

6. Deploying a VM with Static IP in 3 Steps

7. Deploy Linux VM via PowerCLI.