Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Script recipes » Windows Server   (RSS)
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 Read More...
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 Read More...
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 Read More...
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%" Read More...
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 Read More...
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 Read More...
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 Read More...
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 Read More...
Once in a while, you might encounter this tool in some Microsoft-provided SDKs, or Resource Kits, for example in the Windows Resource Kit, the Exchange Report Toolkit, and others. But this tool never came with any relevant documentation. It just displays Read More...
Everyone knows how to write CMD scripts. And this is the reason why we have so many messy CMD scripts around. Unfortunately, I haven't seen anywhere some guidelines on how to write clear, maintenable batch files. So here is my take: 1) Think about discovery Read More...
A sneaky error The following post summarizes my personal experience with a subtle COM error. CO_E_SERVER_EXEC_FAILURE (0x80080005) is an error which can be randomly returned by CoCreateInstance() if you are using an out-of-process COM server. As far as Read More...
Transportable shadow copies are another practical consequence of a new paradigm - the data is stored in the (SAN) cloud. The data availability is not anymore tied to your machine. This simple fact has far reaching consequences. One consequence is the Read More...
Multitasking is an easy call. All you have to do is to start a separate process using the start command. Unless you specify the /WAIT option (which would cause a syncrhonous execution) the START command will simply start the other process, and return Read More...
The copy command can be very useful for quick operations. However, there are a number of tricks that are not widely known. 1) Copying the contents of a source directory into the current directory: just specify the source directory! y:\privates>copy Read More...
Here is a little known feature of our beloved CMD.EXE. It is extremely easy to evaluate an arithmetic expression! All it takes is a five characters. Just type set /a followed by your expression . Here is an example: E:\>set /a 1+1 2 Or, if you want, Read More...
More Posts Next page »
 
Page view tracker