Convert basic disk to dynamic

I am automating an existing manual process for configuring new 2012 R2 servers. PowerShell storage commands can be used instead of most of the manual steps in diskpart. But one step has me stumped.

Is diskpart really the only way to convert a basic disk to dynamic?

Dynamic disks are deprecated so there are no PS cmdlets for managing them.

TechNet Tip of the Day

MSDN Virtual Disk Service

Thanks, Matt. I figured it was something like that. It adds spice to a project when you have to automate someone else’s legacy process. : )