Solved

Can I import a dynamic disk using PowerShell?

Posted on 2009-04-06
3
822 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

828 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