Category: Virtualization

VMware Workstation 11 – Virtual Machine Configuration

You may use the following method to configure a virtual machine (VM) in VMware Workstation 11.

 

1. On the Welcome to the New Virtual Machine Wizard page select Custom (advanced) then click Next >.

2. On the Choose the Virtual Machine Hadware Compatability page under the Hardware compatability: option select Workstation 11.0 then click Next >.

3. On the Guest Operating System Installation page select I will install the operating system later then click Next >.

4. On the Select a Guest Operating System page select the correct operating system then click Next >.

5. On the Name the Virtual Machine page enter a descriptive name for this virtual machine then click Next >.

6. On the Firmware Type page select BIOS then click Next >.

7. On the Processor Configuration page select the number of processors as well as the number of cores per processor then click Next >.

8. On the Memory for the Virtual Machine page configure the memory allocation for this virtual machine then click Next >.

9. On the Network Type page select the correct Network connection then click Next >.

10. On the Select I/O Controller Types select the controller type, if available, then click Next >.

11. On the Select a Disk Type page select the Virtual disk type then click Next >.

12. On the Select a Disk page select Create a new virtual disk then click Next >.

13. On the Specify Disk Capacity page configure the size of the hard disk and select the options to Allocate all disk space now  and Store virtual disk as a single file then click Next >.

14. On the Specify Disk File page click Next >.

15. On the Ready to Create Virtual Machine page review the configuration for the virtual machine then click Finish.

 

Enjoy!


Microsoft Windows Powershell – Hyper-V Cmdlets

In order to view all of the Microsoft Hyper-V Cmdlets use the command get-command -module hyper-v. You may explore these commands and create scripts to automate your Hyper-V administration. Automation can save your Information Technology (IT) department both time and money.

01


Microsoft Hyper-V – Create a Virtual Switch using a PowerShell Script

Microsoft Hyper-V allows you to create (3) types of virtual switches (External, Internal and Private). These virtual switches may be created manually using the Hyper-V Manager or you may use a PowerShell (.ps1) script to automate the process. Below you will find a script to create an External virtual switch.

1. Issue the Get-NetAdapter command to provide a list of physical network interface (NIC) card(s) on the host. Take note of the name of the NIC that will be used for the external virtual switch.
01

2. You may modify the script below to create an external virtual switch.

02

3. Run Microsoft Powershell (as an Administrator) to create the external virtual switch.

03

4. Lastly, verify the creation of the virtual switch using the Hyper-V Manager > Virtual Switch Manager.

04


Microsoft Hyper-V – Install Hyper-V and the Management Tools using PowerShell

Microsoft allows you to install the Hyper-V role using PowerShell (run as an administrator) as well as the graphical user interface (GUI). One of the advantages of using PowerShell is that you can create a script to deploy a large number of Hyper-V hosts. During my initial testing I was able to install the Hyper-V role but the Management Tools were not being installed. The PowerShell installation requires the -IncludeManagementTools parameter to install the Management Tools.

The command to install both the Hyper-V role and the Management Tools is as follows:

Install-WindowsFeature –Name Hyper-V -ComputerName <computer_name> -IncludeManagementTools -Restart

01

If you will be installing the Hyper-V role on the local host then remove the -ComputerName <computer_name> parameter.

Microsoft provides great documentation for their solutions and the Install the Hyper-V Role and Configure a Virtual Machine document is no exception.

Enjoy!