mikefrobbins.com
open-menu closeme
Home
About
mikefrobbins.com
twitter github linkedin rss
  • Import a Hyper-V Virtual Machine with PowerShell

    calendar Jul 10, 2019 · Hyper-V PowerShell  ·
    Share on: twitter facebook linkedin copy

    I recently ran into a problem where an exported VM from Windows Server 2016 running Hyper-V wasn't able to be imported on Windows Server 2019 running Hyper-V. When attempting to perform the import, the GUI stated "No virtual machines files found" as shown in the following image. This problem may have been due …


    Read More
  • Determine the Generation of a Hyper-V VM with PowerShell

    calendar Jun 28, 2019 · Hyper-V PowerShell  ·
    Share on: twitter facebook linkedin copy

    Ever need to determine what generation all of the virtual machines are on your Hyper-V servers? This is simple using the Get-VM command that installs as part of the Hyper-V module for Windows PowerShell. 1Get-WindowsOptionalFeature -FeatureName hyperpowershell -Online While the previous command will work on both …


    Read More
  • PowerShell Function to Determine the Hyper-V Host for a VM

    calendar Mar 30, 2017 · Hyper-V PowerShell  ·
    Share on: twitter facebook linkedin copy

    This week, I thought I would share a PowerShell function that I wrote to determine what Hyper-V host server a VM (virtual machine) resides on. In this scenario, you have no idea which Hyper-V host a VM resides on. 1#Requires -Version 3.0 2function Get-MrVmHost { 3 4<# 5.SYNOPSIS 6 Determines the HyperV host …


    Read More
  • Convert, Resize, and Optimize VHD and VHDX files with PowerShell

    calendar Mar 23, 2017 · Hyper-V PowerShell  ·
    Share on: twitter facebook linkedin copy

    I recently received an email from someone who attended one of my presentations asking if I had a blog article on using PowerShell to compact and optimize VHD files. Since I didn't have a blog article on that subject, I decided to create one. The process itself is fairly simple. The examples shown in this blog article …


    Read More
  • Use caution when updating to Windows 10 RTM with data deduplication enabled volumes

    calendar Jul 30, 2015 · Deduplication Hyper-V Windows 10  ·
    Share on: twitter facebook linkedin copy

    I recently decided to reload my computer, moving from Windows 8.1 Enterprise Edition to Windows 10 Enterprise Edition. I had previously enabled the data deduplication feature on my Windows 8.1 installation with an unsupported hack by using the source files from Server 2012 R2. Deduplication was enabled on my SSD drive …


    Read More
  • Creating Hyper-V VM’s with Desired State Configuration

    calendar Jan 22, 2015 · Desired State Configuration DSC Hyper-V PowerShell Windows 8.1  ·
    Share on: twitter facebook linkedin copy

    I'm looking to automate the build of my test environment that runs as Hyper-V virtual machines on my Windows 8.1 Laptop computer. To get started, I thought I would take a look at the xHyper-V DSC resource to create the actual VM's. There's also no reason this shouldn't work on a Windows Server that's running the …


    Read More
  • PowerShell One-Liner: Create a new Hyper-V VM

    calendar Dec 18, 2014 · Hyper-V PowerShell  ·
    Share on: twitter facebook linkedin copy

    My test environment resides on a workstation that runs Windows 8.1 Enterprise Edition with the Hyper-V role enabled. I need to create a new VM that will be used as a second domain controller in my test environment. I'll use a PowerShell one-liner to create this new VM which will use a differencing disk based on a …


    Read More
  • PowerShell Function to Prevent Starting Hyper-V VM’s that are Connected to an External Network

    calendar Jun 20, 2014 · Hyper-V PowerShell  ·
    Share on: twitter facebook linkedin copy

    Beginning with Windows 8 (Professional and Enterprise Edition), Hyper-V is available on workstations that have a processor that supports SLAT (Second Level Address Translation). For specifics about the requirements, see the Client Hyper-V blog article on Microsoft TechNet. That means you have a Hypervisor running right …


    Read More
  • Use PowerShell to Determine the Chain of VHD’s for a Virtual Machine on Hyper-V

    calendar Jul 18, 2013 · Hyper-V PowerShell  ·
    Share on: twitter facebook linkedin copy

    You want to determine what VHD's exist for the virtual machines (VM's) that are virtualized on your Windows 8 or Windows Server 2012 Hyper-V virtualization host. This may sound simple, but what if you have a base image or template that has been configured and then multiple VM's have been created using differencing …


    Read More
  • Use PowerShell to Check for Processor (CPU) Second Level Address Translation (SLAT) Support

    calendar Sep 6, 2012 · Hyper-V PowerShell Windows 8  ·
    Share on: twitter facebook linkedin copy

    The hardware requirements for using Hyper-V to run virtual machines on a Windows 8 client states that a 64-bit system that has a processor (CPU) that supports Second Level Address Translation (SLAT) is required. A minimum of 4GB of RAM is also required. How do I know if my Processor (CPU) supports Second Level Address …


    Read More

Mike F. Robbins photo

Mike F. Robbins

Scripting | Automation | Efficiency
Read More

Disclaimer

All information and code on this site is for informational purposes only and provided as-is. This site does not provide any warranty, either express or implied. All thoughts and opinions are my own.

Recent Posts

  • What does sudo apt update on Linux do?
  • How to configure Azure PowerShell global settings with the *-AzConfig cmdlets
  • Opening specific panes in system settings from the command line on macOS
  • Determine disk usage from the command line on macOS
  • Splitting the PowerShell PSModulePath Cross-Platform
  • Sync VS Code Settings between Computers with Different User Profile Paths
  • Rendering Images in Markdown Preview of Hugo Site
  • Enable PowerShell remoting on ArcoLinux

Categories

POWERSHELL 335 ACTIVE-DIRECTORY 34 SCRIPTING-GAMES 32 SQL-SERVER 20 DESIRED-STATE-CONFIGURATION 18 AZURE 10 HYPER-V 10 LINUX 8 POWERSHELL-SUMMIT 8 VSCODE 8 IIS 6 OFFICE-365 6 PESTER 6 GIT 5 WINDOWS-10 5 ARCOLINUX 4 AST 4 OPERATIONAL-VALIDATION 4
All Categories
ACTIVE-DIRECTORY34 ALTARO-VM-BACKUP2 APPASSURE1 ARCOLINUX4 AST4 AWS1 AZURE10 AZURE-POWERSHELL2 CENTOS1 CROSS-PLATFORM1 DEBIAN1 DESIRED-STATE-CONFIGURATION18 DHCP-SERVER2 EXCHANGE-SERVER2 EXCHANGE-SERVER-20102 GIT5 GROUP-POLICY1 HARDWARE1 HUGO2 HYPER-V10 IIS6 LINUX8 MACOS3 MARKDOWN1 MICROSOFT-SQL-SERVER3 NANO-SERVER1 OFFICE-3656 OPERATIONAL-VALIDATION4 PACMAN1 PAMAC1 PARU1 PESTER6 PLASTER2 POWERSHELL335 POWERSHELL-CORE3 POWERSHELL-STUDIO1 POWERSHELL-SUMMIT8 POWERSHELL-WEB-ACCESS1 RASPBERRY-PI1 REGULAR-EXPRESSIONS1 SAPIEN-TECHNOLOGIES3 SCRIPTING-GAMES32 SERVER-CORE2 SQL-SERVER20 STORAGE-AREA-NETWORK2 TRAINING-VIDEOS4 UBUNTU1 VERSION-CONTROL4 VIRTUALIZATION1 VSCODE8 VWORKSPACE1 WINDOWS1 WINDOWS-105 WINDOWS-81 WINDOWS-8.11 WINDOWS-SERVER-2003-R21 WINDOWS-SERVER-20081 WINDOWS-SERVER-2008-R21 WINDOWS-SERVER-20123 WINDOWS-SERVER-2012-R22 WINDOWS-SERVER-20161 WINDOWS-SERVER-20192
[A~Z][0~9]

Tags

POWERSHELL 328 ACTIVE-DIRECTORY 32 SCRIPTING-GAMES 30 SQL-SERVER 21 DSC 19 DESIRED-STATE-CONFIGURATION 18 HYPER-V 11 VIDEO 11 AZURE 10 PESTER 10 AST 8 LINUX 8 POWERSHELL-VERSION-5 8 VSCODE 8 IIS 6 OFFICE-365 6 POWERSHELL-SCRIPT-MODULE-DESIGN 6 POWERSHELL-SUMMIT 6
All Tags
ACTIVE-DIRECTORY32 ALTARO-VM-BACKUP2 APPASSURE1 ARCOLINUX4 AST8 AWS1 AZ1 AZURE10 AZURE-POWERSHELL2 AZURERM1 CENTOS1 CROSS-PLATFORM1 DEBIAN1 DEDUPLICATION1 DESIRED-STATE-CONFIGURATION18 DHCP1 DHCP-SERVER2 DSC19 EQUALLOGIC1 EXCHANGE-20101 EXCHANGE-SERVER2 EXCHANGE-SERVER-20101 GIT5 GITHUB3 GROUP-POLICY1 HARDWARE1 HUGO2 HYPER-V11 IIS6 LINUX8 MACOS3 MARKDOWN1 NANO-SERVER1 NIMBLE1 OFFICE-3656 ONEGET5 OPERATION-VALIDATION-FRAMEWORK1 OPERATIONAL-VALIDATION4 PACMAN1 PAMAC1 PARU1 PESTER10 PLASTER2 POWERSHELL328 POWERSHELL-CORE3 POWERSHELL-SCRIPT-MODULE-DESIGN6 POWERSHELL-STUDIO1 POWERSHELL-SUMMIT6 POWERSHELL-VERSION-58 POWERSHELL-WEB-ACCESS1 POWERSHELLGET2 PRODUCTIVITY-HACKS1 PSBLOGWEEK1 RASPBERRY-PI1 REGULAR-EXPRESSIONS1 SAN2 SCRIPT-ANALYZER1 SCRIPTING-GAMES30 SERVER-CORE2 SOURCE-CONTROL4 SQL-SERVER21 STORAGE-AREA-NETWORK2 UBUNTU1 VERSION-CONTROL4 VIDEO11 VISUAL-STUDIO-CODE3 VSCODE8 VWORKSPACE1 WINDOWS1 WINDOWS-106 WINDOWS-82 WINDOWS-8.11 WINDOWS-SERVER-2003-R21 WINDOWS-SERVER-20124 WINDOWS-SERVER-2012-R21 WINDOWS-SERVER-20192 WMI2
[A~Z][0~9]
mikefrobbins.com

Copyright  MIKEFROBBINS.COM. All Rights Reserved

to-top