Crear USB booteable Legacy de Windows con PowerShell
Owicron
¡Suscribete! Aprende y Comparte tu Conocimiento Como crear una USB booteable UEFI con PowerShell https://youtu.be/_PyToFbnxu8
PowerShell https://www.youtube.com/playlist?list=PLjmDjOyZOPwSUI9wNJQpqJPdOg2IiLxQ_
Script:
$Results = Get-Disk | Where-Object BusType -eq USB | Out-GridView -Title 'Select USB Drive to Format' -OutputMode Single | Clear-Disk -RemoveData -RemoveOEM -Confirm:$false -PassThru | New-Partition -UseMaximumSize -IsActive -AssignDriveLetter | Format-Volume -FileSystem NTFS
$Volumes = (Get-Volume).Where({$.DriveLetter}).DriveLetter Mount-DiskImage -ImagePath "C:\Windows_Universal_OC_Pro.iso" $ISO = (Compare-Object -ReferenceObject $Volumes -DifferenceObject (Get-Volume).Where({$.DriveLetter}).DriveLetter).InputObject
Set-Location -Path "$($ISO):\boot" bootsect.exe /nt60 "$($Results.DriveLetter):" Copy-Item -Path "$($ISO):*" -Destination "$($Results.DriveLetter):" -Recurse -Verbose
Grupo de Discord: https://discord.gg/YSxsacp4AE
Facebook: http://www.facebook.com/owicron
Youtube: http://www.youtube.com/user/Owicron ... https://www.youtube.com/watch?v=7HRm5FZXJ50
36182626 Bytes