Skip to content

Instantly share code, notes, and snippets.

@justinloring
Created January 20, 2020 16:17
Show Gist options
  • Save justinloring/b635c3d0e0b0508437e9a9c7b5d3adfe to your computer and use it in GitHub Desktop.
Save justinloring/b635c3d0e0b0508437e9a9c7b5d3adfe to your computer and use it in GitHub Desktop.
Robocopy Transfer
New-Item -ItemType Directory -Path C:\Drivers\WIN -Force
Invoke-Command -ScriptBlock {Robocopy .\Thunderbolt C:\Drivers\WIN\Thunderbolt /MIR}
Invoke-Command -ScriptBlock {Robocopy .\Thunderbolt C:\Drivers\WIN\Thunderbolt_FW /MIR}
Invoke-Command -ScriptBlock {MSIEXEC /I C:\Drivers\WIN\Thunderbolt\Setup.msi /Q}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment