Hyper-V

Building a Desired State Configuration (DSC) Lab

Recently I presenting at the Indianapolis PowerShell User Group and talked about Desired State Configuration. The presentation was 100% demonstrations, and I decided it would be a good idea to provide all of the PowerShell commands/instructions I used to build my lab environment for the presentation.

Note: Please note that these instructions were written using multiple Experimental DSC Resources, Microsoft and I myself provide no guarantee that these will work in a production environment. I strongly encourage that you use test environments that do not matter until you feel comfortable with DSC.

Pre-requisites

  • Licensed/Trial Media for Windows Server 2012 R2
  • An installed/updated Sys prepped VM Parent Disk
    • Stored at D:\Templates\Server2012R2.vhdx
  • a Virtual Switch within Hyper-V Configured as a Private, named “Private Network”
  • At least 7GB of free memory
    • You can adjust this all the way down to just 4GB
  • Downloaded copy of the latest DSC Resource Kit – Download Here

Now before we dive into the scripting component of this blog post I want you to know that this is not 100% automated. You will have some manual steps here and there, it is possible to 100% automate – but that will require significantly more effort. Please continue reading for instructions on this demonstration.

Starting My Journey through #90Days2MCSA

Hello Everyone! I apologize for my months disappearance from blogging, it’s been a busy March and will continue to be busy throughout TechEd! That is not a bad thing, and I will strive to increase my blogging. One thing that is going to help me in the interim is my Journey to my Server 2012 MCSA!

Michael Bender along with MS Learning has made a push for people to obtain their MCSA with the #90Days2MCSA Challenge, this is a fantastic idea is a great way as a community for everyone to improve their skills.

I’d like to start off by saying I may be a featured certification success story on the 90Days2MCSA site; however I do not have my Server 2012 MCSA yet and that means I get to participate! I’ve been hiding in the shadows and doing some studying with the official Microsoft Press 70-417 Upgrading Your Skills to MCSA Windows Server 2012.

Storage Space Virtual Disk Disconnected on Restart

So I recently had to rebuild my Server 2012 virtual server. I had storage spaces setup and after I finished the install the Virtual Disk was not mounted. I realized that I was able to bring it all back online, but every restart it had to remount the VHD.

I had decided there must be a way to fix it and decided to see what the properties were within PowerShell. I ran a Get-VirtualDisk which showed me my single VHD (pictured below)

I was thrilled when I saw the IsManualAttach property, with a simple execution of Set-VirtualDisk Data -IsManualAttach 0, I executed a Get-VirtualDisk and verified it took the settings change. After a restart the VirtualDisk was already mounted and resolved my problem with only two PowerShell commands.

Windows 8 is Nearly Here!

I personally have been using Windows 8 off and on since the Developer Preview was released over a year ago, more frequently after I received a Samsung Series 7 Slate in February to start working on it for work. I’ve been following all of the news articles about how this is going to change everything or how it is going to completely bomb. I’ve been in multiple conversations with co-workers, and friends from previous jobs about what will be changing and if it is an improvement or degrading and I’ve decided that I will share my point of view publicly.

The Good:

  • Word Processing on the Go
    • Windows RT (ARM Processor Devices) has Office 2013 built in.
    • Windows 8 (Intel/AMD Devices) can have any version of Microsoft Office Installed.
    • I’ve heard multiple coorporations wanting to implement Tablets, however the most frequent request is word processing.
  • Build in Hyper visor
    • I was thrilled to see that they included Hyper-V into Windows 8.
    • Gives me the ability to stay away from VMWare Player/Workstation.
  • Unified System
    • Home desktops, corporate desktops and tablets you can carry around with you all being the same.
    • Can also use cloud services to share files across all these devices.
  • Touch and Keyboard/Mouse Friendly
    • Throughout the preview the mouse/keyboard usage has improved. Overall I think they have made it seem less when using either touch or keyboard/mouse combo.
  • Better Performance
    • As hardware improves so does software, even running the same hardware I ran with Windows 7 I have a faster boot time, and I am seeing better overall performance.
  • Windows Live Login
    • Manage a single login across all of your Windows 8 devices
    • Manage basic settings and Metro apps across all Windows 8 devices
  • Improved Interface
    • My personal feeling is that the interface is aesthetically more appealing.

The Bad:

  • Harder learning curve
    • With the modified interface it will be much more challenging for people to learn the interface.
  • Limited Applications at Launch
    • Currently the amount of apps in the Windows Store is limited but growing.
  • Price
    • Some of the hardware I believe could be priced a little bit lower.
    • I do want to clarify the Microsoft Surface is competitively priced when comparing to an iPad.

Will it Succeed:

Overall with the amount of experience I have with Windows 8 I strongly believe that this operating system and tablet devices have the ability to succeed. I do see this being highly usable in enterprise environments using tablet devices. I’ve spent a couple days working purely using a tablet device and docking it at work. My main concern on if this will succeed or not will come down to the ability to properly train everyone on the new operating system and how to use it.

Some final notes I have on the up coming operating system and hardware that is coming out is to keep an open mind to using an entirely new interface, make sure you dedicate time into learning it and you will realize that it is a move in the proper direction.