Solved

Can I import a dynamic disk using PowerShell?

Posted on 2009-04-06
3
820 Views
Last Modified: 2012-05-06
Hi,

I'm a newbie at this - I need to import a SAN-based snapshot of a dynamic disk on a Windows 2003 server for backups. The SAN vendor tools work perfectly with basic disks, but not with dynamic, so I'm trying to work out a way to automate the import of the dynamic disk database using PowerShell.

Any thoughts gratefully received!
0
Comment
Question by:Duncan Meyers
3 Comments
 
LVL 18

Accepted Solution

by:
BSonPosh earned 500 total points
ID: 24087158
oye! I would probably start with DiskPart.exe

I don't know of a way to do this with Powershell without writing your own API wrapper. I assume MS never thought someone would want to script this :)
0
 
LVL 30

Author Closing Comment

by:Duncan Meyers
ID: 31567305
Thanks! Diskpart will do exactly what I want.
0
 

Expert Comment

by:astout
ID: 34484570
meyersd, could you explain how you managed to use diskpart to automate this?  I am faced with the exact same issue at the moment.  I am unsure how to use diskpart to identify the newly mapped snapshot from the SAN and then to import it.

Thanks
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

"Migrate" an SMTP relay receive connector to a new server using info from an old server.
A procedure for exporting installed hotfix details of remote computers using powershell
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question