Solved

Can I import a dynamic disk using PowerShell?

Posted on 2009-04-06
3
817 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
Comment Utility
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
Comment Utility
Thanks! Diskpart will do exactly what I want.
0
 

Expert Comment

by:astout
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This script checks a path to see if a folder exists. If the folder does exist you will get output "The folder has previously been created. No action taken" If not it will create the folder. Then adds one user modify permission to the folder. It …
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now