Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Can I import a dynamic disk using PowerShell?

Posted on 2009-04-06
3
Medium Priority
?
835 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 18

Accepted Solution

by:
BSonPosh earned 2000 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

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

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

The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

688 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