Questions tagged [.vhdx]

4 questions
4
votes
2 answers

PowerShell Get-VHD "is not an existing virtual hard disk file"

When creating a new VM in Hyper-V, to keep things organized, I use a particular naming convention when creating the associated VHDX files. The naming convention is the VMs FQDN followed by the SCSI controller attachment point followed by what the…
Craig
  • 627
  • 7
  • 14
4
votes
1 answer

How do you mount a VHDX file to a folder path rather than drive letter using PowerShell?

OK, truth be told I already know the answer to the question. But, I scoured the net for quite some time on how to do this only to come up short. After piecing together several hints of semi-usable answers I found a couple of solutions that I would…
Craig
  • 627
  • 7
  • 14
0
votes
0 answers

Why .VHDX file after closing forcefully becomes busy again?

I have strange scenario here at server machine. There I setup shared path 'C:\UPD$' where within deep there is .VHDX file which is accessed by external clients. ( i.e. other client machines have opened them ). I want to forcefully close the handle…
Usman
  • 2,742
  • 4
  • 44
  • 82
-2
votes
1 answer

How to remove partition access path without knowing the path of VHD

I used Powershell Add-PartitionAccessPath to map a partition in a VHDX file to say c:\temp\mysupport folder. I am trying to create a function that takes access path as input parameter and remove it. I see Remove-PartitionAccessPath is available. But…
videoguy
  • 1,732
  • 2
  • 24
  • 49