Monday, December 19, 2011

A Windows administrator's guide to Diskpart commands


Introduction
Systems administrators frequently build, manipulate and extend disk partitions in Windows in order to keep from running out of space on their servers. One tool they use is Microsoft's Diskpart utility, which allows Windows administrators to configure storage from a script, a remote session or other command prompt.
This guide reviews the many Diskpart commands and explains how administrators can use Diskpart to manipulate, extend and delete disk partitions.
The Diskpart.exe command-line utility can extend the data volumes and existing partitions in Windows 2000, Windows XP and Windows Server 2003 by using the unallocated space displayed in the Disk Management snap-in.

Friday, December 9, 2011

How do I stop/start a scheduled task on a remote computer ?

Here's what I found.

To Stop
schtasks /end /s <machine name> /tn <task name>
To Start:
schtasks /run /s <machine name> /tn <task name>