Posts tagged with Backup

Stopping All Running Virtual Machines (Hyper-V)

April 6th, 2012 by and tagged , ,

So, a good friend and fellow MVP asked me for a script to shut down all running virtual machines on a server so she could do cold backups of them. This seemed like a perfectly reasonable request, and my first thought was “Well, this gets really obvious and easy in Windows Server 8” since we […]

Posted in Hyper-V, WMI | Comments Off on Stopping All Running Virtual Machines (Hyper-V)

Windows Server Backup with PowerShell

February 3rd, 2011 by and tagged , ,

Windows Server 2008 R2 added some useful enhancements to the PowerShell snapin that was in Windows Server 2008. But it’s still a pain to use, and a bit hard to get your head around. Here’s a basic PowerShell script to do a backup. There are enough comments in there that it should help you get […]

Posted in PowerShell, Windows Server | 4 Comments »

Windows Server Backup with PowerShell

February 3rd, 2011 by and tagged , ,

Here’s a basic Windows PowerShell script configure Windows Server 2008 R2 Backup. # —————————————————————– # Script to set a Windows Server Backup policy for a server # # Assumes: Volumes C: and D: to backup. # : Target – \\storageserver\serverbackup # : Exclusions – D:\temp, D:\Users\*.MP3, D:\Users\*.WMA # : VSS Mode – Full Backup # […]

Posted in Network Administration, PowerShell, Windows Backup, Windows Server | Comments Off on Windows Server Backup with PowerShell