Browse by Tags

Tagged Content List
  • Blog Post: Speaking at Microsoft Ignite New Zealand next week

    Next week I will be in New Zealand speaking at Microsoft Ignite New Zealand. Here are the details of the sessions I will be presenting: What's New in Windows Server Hyper-V [M227] Time: Wed 2 Sept, 3:10 PM Ballroom 2 (Crowne Plaza) Abstract: There are lots of new features and possibilities...
  • Blog Post: Getting Hyper-V and OpenStack setup quickly

    Last week I presented at OpenStack Day Seattle - and did a short demonstration of OpenStack managing Hyper-V. Today I want to show you how to get a basic OpenStack + Hyper-V deployment up and running quickly. The process is as follows: Install Windows Server 2012 R2 / Windows Server 2016...
  • Blog Post: My Hyper-V Presentation at OpenStack Day Seattle 2015

    I had a great time presenting yesterday at OpenStack Day Seattle. The PowerPoint Presentation I used can be downloaded from here: https://github.com/BenjaminArmstrong/Presentations/blob/master/OpenStack%20+%20Containers%20+%20Hyper-V.PPTX?raw=true I have also taken videos of the demonstrations...
  • Blog Post: Why do you have to elevate PowerShell to use Hyper-V cmdlets?

    Short answer - you don't! Or more accurately - you should not need to. Every now and then someone complains to me about the fact that they need to run PowerShell "As Administrator" in order to see any of their virtual machines. This is actually not necessary - but is indicative of a configuration...
  • Blog Post: Configuring Default Checkpoint type in Windows 10

    Last week I was talking about Production Checkpoints in Windows 10 . When I talk about this to some people - they are concerned because they prefer our previous checkpoint behavior. Fortunately, it is still available for people who want it. If you open the virtual machine settings and select the Checkpoints...
  • Blog Post: I'm Speaking at OpenStack Day Seattle 2015

    Did you know that there is a lot that you can do with Microsoft and OpenStack? We have Nova Drivers for Hyper-V We have an Open-vSwitch Driver for Hyper-V We have Cinder Drivers for Windows iSCSI We have Cinder Drivers for SMB Keystone connects to Active Directory In fact - Active...
  • Blog Post: Production Checkpoints in Windows 10

    When we were first developing Hyper-V we worked hard to get checkpointing functionality to be part of the 1.0 release. At that stage, we knew that while virtual machine checkpoints were good for development and testing environments, they were not suitable for production environments. To deal with this...
  • Blog Post: Upgrading your Virtual Machine version

    When you upgrade to Windows 10 - there is a second manual step that is needed to upgrade your virtual machine version. You need to shutdown the virtual machine and then either select to "Upgrade Configuration Version" through the UI - or run the Update-VMVersion PowerShell command. In the past we...
  • Blog Post: What's new in Hyper-V in Windows 10

    There is a bunch of new stuff in Hyper-V in Windows 10. PowerShell Direct, Production Checkpoints and more. Fortunately - you can read all about it here: https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/about/whats_new Cheers, Ben
  • Blog Post: PowerShell Direct & Waiting for an IP Address

    Here is an interesting problem. With PowerShell Direct it is possible to get connected to a PowerShell session inside a virtual machine before the virtual machine has received an IP address. While this is cool - it can result in annoying script failures. To handle this - if I am using PowerShell Direct...
  • Blog Post: PowerShell Direct + Hot Add NIC == Give me an IP address

    Here is a fun script snippet that is possible with Windows 10: function addNicWithIP ( [ string ] $VMName , $cred , [ string ] $Switch , [ string ] $IPaddress , [ string ] $subnetPrefixLength ){ $newNetAdapter = Add-VMNetworkAdapter -VMName $VMName -SwitchName $Switch -Passthru Write-Output "[ $(...
  • Blog Post: Sending a script file into the VM using PowerShell Direct

    Okay, PowerShell Direct is cool - but sometimes you just want to copy a script (or set of scripts) into the virtual machine and run them there. How can you do that? Fortunately - PowerShell Direct comes to the rescue. Here is a simple snippet that will send any text file from the host to the virtual...
  • Blog Post: Using PowerShell Direct for Script Locking

    Here is one of the most helpful code snippets that I have come up with using PowerShell Direct: function waitForPSDirect([string]$VMName, $cred){ Write-Output "[$($VMName)]:: Waiting for PowerShell Direct (using $($cred.username))" while ((icm -VMName $VMName -Credential $cred {"Test"} -ea SilentlyContinue...
  • Blog Post: PowerShell Direct - handling authentication for better scripting

    In Windows 10 (and Windows Server 2016 TP2) we introduced a great new feature called PowerShell Direct. You can read about it all here: http://blogs.technet.com/b/virtualization/archive/2015/05/14/powershell-direct-running-powershell-inside-a-virtual-machine-from-the-hyper-v-host.aspx In essence it...
  • Blog Post: Virtual PC Guy on GitHub

    Over the years I have posted many scripts and code samples on this blog. Often, I get queries from people about whether it is okay to modify them / redistribute them / etc... Well - I have now started the process of moving all these scripts over to GitHub where they are being published under the MIT...
  • Blog Post: Hyper-V Survey: Why do you turn VMs off?

    We have a survey up asking for information about why and when you need to turn virtual machines off with Hyper-V. You can go and fill it out here: http://www.instant.ly/s/9qQwF/?s=ba Please note, we will be taking feedback for a week (this will be shutting it down on end of day Tuesday next week...
  • Blog Post: Testing a USB Windows Install disk with Hyper-V

    Recently I was putting together a new Windows USB Install disk (if you are not familiar with the process for doing this - here is a good article: http://windowsitpro.com/windows-8/q-how-do-i-create-bootable-usb-stick-can-install-uefi-system ). I really wanted to use virtual machines to test the disk...
  • Blog Post: Building a Daily Ubuntu image for Hyper-V

    After getting my Windows Image Factory up and running – the next thing I started to look at was how to create an “always up-to-date Ubuntu image”. To solve this problem I ended up taking a very different route. Some of the tools / services I used are as follows: Ubuntu Cloud Images...
  • Blog Post: Handy Tool for Converting KVM / VMware Images to Hyper-V

    I was recently involved in a conversation where people needed to convert a handful of KVM virtual machine images to Hyper-V. Now, the QEMU project already includes the necessary tools to do this – but what if you do not have a Linux computer handy? Well – thankfully the people over at Cloudbase...
  • Blog Post: Script: Image Factory for Hyper-V

    Update 7/20/2015: This script is now available on GitHub. Please go to http://github.com/BenjaminArmstrong/Hyper-V-PowerShell/tree/master/Image-Factory to get the latest version, and to contribute any changes and bug fixes. Summer has come to Seattle - which means that it is time for me to get going...
  • Blog Post: Using PowerShell to Ping Test a VM

    I have been spending some time creating PowerShell snippets to help when you need to troubleshoot / debug a Hyper-V environment. Here is a handy one-liner that I recently created: Get-VM "File Server" | Select -ExpandProperty NetworkAdapters | Select -ExpandProperty IPAddresses | %{Ping $_} When...
  • Blog Post: Hyper-V Survey

    We want to hear from you! Right now there is a small survey (under 10 minutes of work to complete) on Hyper-V available here: https://www.instant.ly/s/G5bPn?s=bb In this survey we: Ask for some basic information about how you are using virtualization Ask for feedback on Hyper-V in Windows...
  • Blog Post: The Most Popular Hyper-V PowerShell Cmdlets - by Bing

    Last week Jose Barreto made an excellent post about using PowerShell and Bing to check the popularity of various SMB PowerShell cmdlets. Well, I could not resist doing the same with Hyper-V! I made a slight tweak to Jose's code - by storing my data in a hashtable. This made it easier to sort and output...
  • Blog Post: Hyper-V PowerShell One-Line-Challenge - Part 3

    After posting my Hyper-V one-line PowerShell snippets last week - I had numerous people ask me: "Can you make this export to a CSV file?". How could I resist the ability to make this command even longer? So here you are: Get-Volume | ?{$_.DriveLetter -ne $null} | select @{N='Drive Letter';E={$_.DriveLetter...
  • Blog Post: Virtual PC Guy @ Ignite

    I will be at Microsoft Ignite this year. What will I be speaking about? Well - let me tell you: Looking forward to seeing everyone there! Cheers, Ben
Page 1 of 23 (559 items) 12345»