Skip to content

Instantly share code, notes, and snippets.

@misheska
Created December 13, 2018 23:20
Show Gist options
  • Save misheska/2af4f9d17206326889b44c3c1f50e277 to your computer and use it in GitHub Desktop.
Save misheska/2af4f9d17206326889b44c3c1f50e277 to your computer and use it in GitHub Desktop.
Copy the Windows install ISO to c:\iso
# Remove any previously-existing c:\iso directory
Remove-Item -Recurse -Force c:\iso
# Create c:\iso directory
New-Item -ItemType Directory -Force -Path c:\iso
# Copy exact contents of Windows ISO mounted on drive E:\ recurisvely
robocopy e:\ c:\iso /MIR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment