Script of the week: how to expire files with Classification

It is an eye opening experience to sit at our FCI booth and see customer after customer telling us their biggest problem with managing file servers today: lots of old data sitting on their file servers. When I tell them how that our classification feature solves this problem, it something that always brings a sincere…

1

A simple way to access Shadow Copies in Vista

In the past, I presented various ways to browse these mysterious device objects called "shadow copies". Shadow copies are static images in time (snapshots) of your volume contents, at some point in the past. These shadow copies are volumes on their own, with a file system namespace accessible through the regular Win32 APIs such as…

29

Demo: New virtualization technologies in Windows Server (Longhorn)

A nice demo that shows you several things: – Windows Server virtualization (a separate partition running a striped-down version of Windows to manage all other virtual machines) – Running an 8-proc virtual machine – 64-bit and 32-bit machines running concurrently – Managing virtual machines with System Center (nice UI) – System Center Operations Manager: monitoring the…

1

WS-Management? Already here in Vista!

WS-Management is a new web services-based management protocol. It’s SOAP-based of course, and it is compatible with the rest of the specifications in the WS-* Web Service stack, like WS-Transfer, WS-Enumeration, WS-Addressing. WS-Management is enabled in Vista (and Longhorn Server) in several ways. On the client side, you have a standard library (called WinRM) which…

2

How to run Defrag on a scheduled basis

On Windows XP, it’s simple. Just run this command and you are done: schtasks /create /TN defrag /RU “NT AUTHORITY\SYSTEM” /SC weekly /TR “defrag %systemdrive%”

5

More VSHADOW stuff: how to backup Exchange, SQL, NTFS

While researching for the previous post, I just started a few searches for VSHADOW on the internet, and I found more interesting usages of it. One example: EqualLogic published a nice technical report of using VSHADOW to backup/restore Exchange, SQL and NTFS. Here is the link: http://www.equallogic.com/docs/tr-ms-vshadow.pdf Just to bring you up to speed: VSHADOW…

3

Fast backup of Virtual Server images (using VSHADOW)

Jeff Trumbull published a very nice script on how to backup a Virtual Server image wiht about one minute of downtime! The solution uses VSHADOW.EXE, a small command-line utility that can be used to create shadow copies. VSHADOW is part of the VSS SDK  

0

Unix guy shares his experience in switching to Windows

Simon Gerber wrote a slightly-negative article titled Switching to Windows: Not as easy as you think. Any Windows developer should read this article. Why? Beyond anything else, it is a perfect example of how a Unix/Linux-oriented people are sincerely viewing Windows, especially when they are forced to switch due to one reason or another. They are coming to Windows…

3

How to do atomic writes in a file

Let’s assume that you want is to write some simple code that writes to a text file. A few assumptions:1) You need avoid corruptions of any kind. 2) Either all of your writes have to make it to the disk, or none of them. 3) The file is updated serially – no concurrent updates from separate processes are allowed. So…

3