how to backup hyper-v VM using Powershell command line

Example 1

Exports virtual machine Test to the root of the D drive.

PS C:\> Export-VM –Name Test –Path D:\

Example 2

Exports all virtual machines to the root of the D drive. Each virtual machine will be exported to its own folder.

PS C:\> Get-VM | Export-VM –Path D:\

Adding -Asjob option in the end of line will run the above command in background releasing the prompt free.

eg.

PS C:\> Export-VM –Name Test –Path D:\ -Asjob

 

 

Ref: http://technet.microsoft.com/en-us/library/hh848491.aspx

 

Building a Free Hyper-V server Cluster

Hyper-V Replica, networking, virtual machine mobility (live migration), storage, failover clustering, and scalability – Microsoft Guide

step-by-step guide to build a free hyper-V server 2012 clustering

Alternative method guide

Hyper-V Replica for small Business ( Non-domain environment)

 Hyper-V VM Replication – How to configure in Windows 2012 Server – Video Tutorial

Hyper-V Live Migration in windows 2012

Howto guide for Hype-V Cluster – Alternative whitepaper from Altario 

Aidan Blog on Hyper-V configuration

Self-signed Certificate Creation using makecert.exe  – Important to establish credentials between 2 servers for replication

Certificate based authentication for Hyper-V Replica – Useful article by Praveen Vijayaraghavan

Hyper-V 2012 Installation, Management Details

Command Line Based step by step guide 

Remote Access Permission Grant procedure for Hyper-V Management

Hyper-V accessing from Remote System setup Video

How to disable Firewall in Hyper-V 2012 using cmdlet

Powershell cmdlets for Hyper-V 2012

Hyper-V PS cmdlets essential samples

Configure to Manage Hyper-V 2012 from Windows 8 Client – Step-by-Step Guide

Monitor VMs using Win 2012 Monitoring Feature

10 Hyper-V Tools

Virtualisation Blog on Hyper-V from Technet, MICROSOFT

vmdk to vhd converter tool

10 essential skills for Hyper-V Implementation