Posts

Showing posts with the label Hyper-V 2012 R2

How automatically snapshot Hyper-V VMs Workflow PS Script

Image
Open your Windows  Power Shell  ISE as administrator. 1. Create a Folder to store your scripts . New-Item C:\Scripts   –ItemType Directory 2. Create the following scripts .  First create the Script for Checkpoints (AKA Snapshots) copy the script below.  File name cloud be VMCheclpointdailyjob.ps1 #This script was created to run  daily snapshots  of VMs Get-VM   SVRVM* | checkpoint-vm -SnapshotName "Daily Snapshot $(( Get-Date ).toshortdatestring())" –AsJob Second create the Script for Remove VM Snapshots, copy the script below. File name cloud be VMRemoveCheckpoints.ps1 At this point you can change what days you want to delete more days you can change the (Get-Date).AddDays(- #) . #Script to Remove VM Snapshots Get-VMSnapshot -VMName SVRVM* | Where-Object {$_.CreationTime -lt ( Get-Date ).AddDays(-5) } | Remove-VMSnapshot 3. Set the Task Scheduler to automate this pr...

What's new on Hyper-V 2012 R2? Top 5 new Hyper-V 2012 R2 features

Image
5 Top Features on Hyper-V 2012 R2 There's a lot of new features and so much great thing on this new release. 1.  New Gen of VM's Generation 2 virtual machines Legacy free !!! This is really nice, finally ! UEFI based Many emulated devices removed Boots from virtual SCSI or synthetic network adapters Enables UEFI secure boot standard Supported guest operating systems: 64-bit versions of Windows 8 and Windows Server 2012 64-bit versions of Windows 8.1 and Windows Server 2012 R2 20% Faster VM Boot / 50% Faster OS Install inside VM  . . 2. Enhanced VM Interaction Remote Desktop over VMBus/ Hardware Full remote desktop capabilities Shared clipboard Audio redirection Enhanced login and much more…. Enabled even when the network is down Integrated into Hyper-V Management experience Automatic Activation Virtual machines are automatically activates when hosted on Window ...