Yes, diskpart should do the trick. Diskpart /s script.txt
[script.txt] RESCAN LIST DISK SELECT DISK # ONLINE CREATE PARTITION PRIMARY FORMAT FS=NTFS LABEL="SOME LABEL" QUICK ASSIGN LETTER=A-Z EXIT The above is merely an example. I have not tried it. You will want to try the disk add manually to see the exact sequence. Please note, diskpart is not forgiving at all--if you make a mistake you will likely lose data. Ray -----Original Message----- From: ADSM: Dist Stor Manager [mailto:[email protected]] On Behalf Of Bill Boyer Sent: Monday, September 19, 2011 3:56 PM To: [email protected] Subject: [ADSM-L] Windows scripting for snapshots I have a customer that has a server with a very large (10TB) volume allocated on an XIV system. They want to backup this volume to TSM. He would like to create a snapshot of the volume in the XIV and mount that on the TSM server and then do an IMAGE backup directly to tape. But they want a way to script this. We can figure out the XCLI commands to create and map the snapshot, but the Winders command to get it mounted and a drive letter assigned is proving to be an issue. Has anyone done anything similar to automate Windows disk manager in this fashion? Believe we would use DISKPART? Bill Boyer "Everyday is a Holiday. Every Formation a Parade. Every Meal a feast.. And. Every Village has their idiot.." - ? CONFIDENTIALITY NOTICE: This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, please do not read, distribute or take action in reliance upon this message. If you have received this in error, please notify us immediately by return email and promptly delete this message and its attachments from your computer system. We do not waive attorney-client or work product privilege by the transmission of this message.
