mirror of
https://github.com/stylersnico/Win11-Silent-Upgrade-On-Unsupported-Hardware.git
synced 2026-06-04 16:08:40 +02:00
Dropped bits for robocopy
This commit is contained in:
@@ -37,8 +37,8 @@ if (!(Test-Path -Path (Split-Path $DestinationPath))) {
|
||||
New-Item -Path (Split-Path $DestinationPath) -ItemType Directory | Out-Null
|
||||
}
|
||||
|
||||
# Transfer the ISO file using BITS
|
||||
Start-BitsTransfer -Source $SourcePath -Destination $DestinationPath
|
||||
# Transfer the ISO file using RC
|
||||
robocopy "$(Split-Path $SourcePath)" "$(Split-Path $DestinationPath)" "$(Split-Path -Leaf $SourcePath)" /COPY:DAT /R:2 /W:2
|
||||
|
||||
|
||||
##########################
|
||||
|
||||
Reference in New Issue
Block a user