![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Best Reference I am just starting to use powershell and what better way to learn than with a real problem to solve. We have just taken delivery of a large number of new workstations. XP SP 2 has been installed on them, but only 30GB of 700GB has been allocated to the C: drive I want to create an E: drive in the unpartioned space on the drive Where can I found out how to do this? What is the best book to look in to learn this great tool Thanks Heaps Bob |
My System Specs![]() |
| | #2 (permalink) | ||||||||||||
| Guest | Re: Best Reference You can script DISKPART.exe. It's installed by default on XP machines. I did some scripting on it before. I'll try to find it and post it here. ----- Shay Levi $cript Fanatic http://scriptolog.blogspot.com
| ||||||||||||
My System Specs![]() | |||||||||||||
| | #3 (permalink) | ||||||||||||||||||||||||
| Guest | Re: Best Reference You can take a look here: Using Diskpart to create, extend or delete a disk partition http://searchwincomputing.techtarget...241594,00.html One thing this article doesn't mention is that you can write all diskpart command in a text file (one command per line) and use it as an input file to diskpart.exe: #### diskpart.txt ##### CREATE PARTITION PRIMARY ASSIGN LETTER=E EXIT diskpart.exe < diskpart.txt ----- Shay Levi $cript Fanatic http://scriptolog.blogspot.com
| ||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||
| | #4 (permalink) | ||||||||||||||||||||||||||||||||||||
| Guest | Re: Best Reference Thank-you "Shay Levi" <no@xxxxxx> wrote in message news:8766a944de1e8c9f9830bbbd41a@xxxxxx
| ||||||||||||||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||||||||||||||
| | #5 (permalink) | ||||||||||||||||||||||||||||||||||||
| Guest | Re: Best Reference You might also want to format the drive (assuming NTFS), test before executing (use your own disk/partition numbers): ### SAMPLE ### SELECT DISK 0 CREATE PARTITION PRIMARY ASSIGN LETTER=E SELECT PARTITION 1 FORMAT FS=NTFS LABEL="New Volume" QUICK EXIT Still trying to find my old diskpart scripts :-) ----- Shay Levi $cript Fanatic http://scriptolog.blogspot.com
| ||||||||||||||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||||||||||||||
| | #6 (permalink) | ||||||||||||||||||||||||||||||||||||
| Guest | Re: Best Reference In terms of the best book. I would recommend Bruce Payette's PowerShell in Action. As he was co-designer of the language he knows an awful lot about it -- Richard Siddaway Please note that all scripts are supplied "as is" and with no warranty Blog: http://richardsiddaway.spaces.live.com/ PowerShell User Group: http://www.get-psuguk.org.uk "Shay Levi" wrote:
| ||||||||||||||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||||||||||||||
| | #7 (permalink) | ||||||||||||
| Guest | Re: Best Reference "RichS" <RichS@xxxxxx> wrote in message news:4BB90A27-85A3-4E78-8A96-F92D578AA1C6@xxxxxx
(haven't seen Lee Holmes' book yet). -- Keith | ||||||||||||
My System Specs![]() | |||||||||||||
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reference Material | Dwarf | General Discussion | 0 | 05-28-2008 02:39 PM |
| Gadget reference | Premier | Vista General | 1 | 08-16-2007 11:24 PM |
| Best reference for .NET for use with PS | Marco Shaw | PowerShell | 7 | 10-23-2006 01:40 PM |