Sharing files with a Non Hyper-V R2 VM

Published September 23, 2013 by FoxDeploy

Recently I got sick of constantly having to break my scripts down into 512 character chunks to copy and paste into VMs (here is a great work-around if you want to increase the amount ) I decided to come up with a–what I feel– is clever work-around to this problem.

  1. First, from the parent partition, create a new VHDx file.  Mount this to your host OS.
  2. Copy any scripts, files, etc you’d like to share with the guest it into the file
  3. Mount this VHDx on the SCSI controller of your VM (to get live access to it)
  4. Enjoy!

In order to copy back and forth, you’ll need to take the vhd offline from Disk Manager on the host machine, and likewise for the guest, but it is a work-able work-around.


Microsoft MVP

Five time Microsoft MVP, and now I work for the mothership


Need Help?

Get help much faster on our new dedicated Subreddit!

depicts a crowd of people in a night club with colored lights and says 'join the foxdeploy subrreddit today'


Blog Series
series_sml_IntroToDsc
series_sml_PowerShellGUI series_sml_IntroToRaspberryPi Programming series_sml_IntroToWindows Remote Management Series The Logo for System Center Configuration Manager is displayed here Depicts a road sign saying 'Learning PowerShell Autocomplete'




Blog Stats