One of the features of Windows Server 2008 is that many aspects of the operating system can be managed through the command line. If we need to define a RAID array on a computer with a GUI interface, it is usually easier to implement, and the disk management console program can complete the installation operation with a few clicks of the mouse.
If you need to perform the same RAID operation on multiple machines, the scripting method will be more efficient. Similarly, if we are doing a Server Core installation, there is no other option but to manage our own disk subsystem from a command prompt. In this article, we'll show you how to implement the functionality mentioned above using the command line.
1. Diskpart Command
Windows Server 2008 includes a command line utility called Diskpart.exe to manage the server's disk subsystem. To use this command, simply open a command prompt window and enter the DISKPART.EXE command, Windows will enter the Diskpart Shell interface. In the Diskpart Shell interface, various commands can be used to manage the disk subsystem.
2, the syntax of the Diskpart command
Diskpart command format, according to the verb-noun syntax. The verb tells Windows what action to perform, and the noun tells Windows which object to perform the action on.
For a simple example: the "List Disk" command. Where List is a verb and Disk is a noun. When you enter this command, the operating system displays all the physical disks listed on the server. As shown in Figure 1.
Figure 1: List Disk Command Execution Results
The List Disk command displays all the disks installed on the server. But Diskpart seems to have a bug: In the value of the above figure, the result of Diskpart returns that the available space on Disk 0 is 0 bytes. But in fact, the disk has 42 GB of free space.
Note the above values, each disk is assigned a disk number. When we need to perform a specific operation on a particular disk, we can specify the disk by entering the "select" command. For example, if you want to operate on Disk 0, type "select Disk 0" to select Disk 0.
Previous 12 Next Read more
Windows2008 as the operating system of the Microsoft server family, when the computer starts up, you
Gene6 FTP is a very useful FTP server software. The function can be said to be no worse than SERV-U.
Compared with the traditional operating system, the security protection function of Win2008 system i
I believe that those friends who have not been exposed to the Windows Server 2008 system will be som
Deploying client systems with WDS for Windows Server 2008
Windows Server 2008 R2 New Features Overview
Windows Server 2008 offline file configuration guide
Microsoft Announces Timeline for Windows 7 and Windows 2008 R2
New improvements in IIS7 in Windows Server 2008R2
Win2008 Offline File Feature Configuration Enablement The
Win2008 wireless network is not properly configured to use IP protocol error solution
Windows Server 2008 Recycle Bin can't clear the fault Solution
Join cross-subnet routing Windows Server 2008 VPN
Windows Server 2008 NAP Tutorial
Self-excavation, Windows Server 2008 data backup has a doorway
CentOS6 installed under Windows 2008R2 HyperV, network card painless settings
Win8 system U disk pop-up and re-enable how to set
Universal WinXP Ghost Mirroring Guide
Windows XP boot menu meaning analysis
Windows XP: Smart Screening Plugin Installation Window Method
Win 7 small function point application - Sticky Notes
Win7 becomes the winner of the highest file permissions