Create a Vyos Router VM in Hyper-V for Labs 13

UPDATE 2016-12-28: Updated for latest Vyos 1.1.7 and again a view little script tweaks. I play a lot with VMs and I wanted a small virtual router to allow internet access for my Labs. After some searching I found Vyos and created  a few scripts to automate the router installation. The result will be a router only consuming 256MB and offering DNS, DHCP and NAT to 5 different subnets. If you want you can extend or change the subnets as much as you want. These are the steps I followed: Download Vyos: http://packages.vyos.net/iso/release/1.1.7/vyos-1.1.7-amd64.iso and put it in D:\ISO. If you put ISO somewhere else, change the location in the script. Open Powershell ISE as Administrator and ...

Install Hyper-V on a Virtual Machine in Hyper-V 1

If you want to install Hyper-V on a Virtual Machine the following error message will appear: ” Hyper-V cannot be installed: A Hypervisor is already running”. But it’s possible with PowerShell although you will not be able to run a virtual machine in the virtual machine. Open a PowerShell console as administrator in the virtual machine where you want Hyper-V installed. Type te following commands: Set-ExecutionPolicy RemoteSigned Enable-WindowsOptionalFeature –Online -FeatureName Microsoft-Hyper-V –All -NoRestart Install-WindowsFeature RSAT-Hyper-V-Tools -IncludeAllSubFeature Restart-Computer Now Hyper-V is installed for testing purposes, but running a Virtual Machine in a Virtual Machine will not be possible. Tweet

Create Bootable USB for MDT Media

Follow the next steps to create a bootable USB Media to do a bare metal deployment with MDT Media. This process requires an installation of the Windows Assessment and Deployment Kit (ADK). Connect USB to local USB port Launch a “Command Prompt” with administrative rights Type “DISKPART” Type “list disk” and find the disk number of your USB Media Type “select disk x”, where “x” is the disk number Type “clean” Type “create primary partition” Type “assign letter=z” or another letter if z is occupied. If asked to format choose cancel. Type “active” Type “exit” Type “format z: /fs:ntfs /q” Type “exit” Launch “Deployment and Imaging Tools Environment” with administrative rights Type “bootsect ...

LAB – Install SQL 2008R2

My personal minimalistic notes of a SQL 2008R2 installation. System Requirements Hardware Settings Memory – 512 MB Dynamic Processor – 2 Virtual processors Hard Drive – (IDE) System 40 GB, (SCSI) Data 500 GB – Dynamically Expand Prerequisite Software Operating System Windows 2008 R2 Standard Accounts Create Domain User “sasqlagent” – SQL Server Agent Create Domain Administrator “sasqldatabaseengine” – SQL Server Database Engine (To register SQL SPN) Create Domain User “sasqlreporting” – SQL Server Reporting Services Install IIS Windows Server Internet Information Services (IIS) 7 – Add Role – Web Server (IIS) Add Role Services – ASP.NET .NET Extensibility ISAPI Extensions ISAPI Filters IIS 6 Metabase Compatibility IIS 6 WMI ...

LAB – Install SCVMM 2008R2

My personal minimalistic notes of a SCVMM 2008R2 installation. System Requirements http://technet.microsoft.com/en-us/library/cc764328.aspx Hardware Settings Memory – 512 MB Dynamic Processor – 2 Virtual processors Hard Drive – (IDE) System 40 GB, (SCSI) Data 500 GB – Dynamically Expand Prerequisite Software Operating System Windows 2008 R2 Standard Included with W2008R2 Windows PowerShell 2.0 Windows Remote Management (WinRM) 2.0 Microsoft .NET Framework 3.0 SP1 Installed by SCVMM Windows Automated Installation Kit (WAIK) 1.1 Accounts Create Domain User – sascvmm Add lab\sascvmm to “Local Administrators” Install SQL 2008 R2 Server LAB – Install SQL 2008R2 Install IIS Windows Server Internet Information Services (IIS) 7 – Add Role – Web Server (IIS) Add Role ...