This used to work. Hopefully someone can point me in the right direction of what replaced New-DatastoreDrive ?
Get-Datastore datastore2 | New-DatastoreDrive -Name ds
Copy-DatastoreItem -Item z:\Win2012_R2_Std.ova -Destination ds:\temp\ -Force
$ovfpath = Get-ChildItem ds:\temp\Win2012_R2_Std.ova