< Back

Copy-IsoToUsb

Sat Jan 18, 2020 6:13 pm

NAME Copy-IsoToUsb



SYNOPSIS

Creates a Bootable FAT32 USB (32GB or smaller) and copies a Mounted ISO.





SYNTAX

Copy-IsoToUsb [-ISOFile] <String> [-MakeBootable] [-NTFS] [-SplitWim] [[-USBLabel] <String>] [<CommonParameters>]





DESCRIPTION

Creates a Bootable FAT32 USB (32GB or smaller) and copies a Mounted ISO.





PARAMETERS

-ISOFile <String>

Full path to the ISO file to Mount



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-MakeBootable [<SwitchParameter>]

Uses Bootsect to make the USB Bootable



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-NTFS [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-SplitWim [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-USBLabel <String>



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





NAME: Copy-IsoToUsb.ps1

AUTHOR: David Segura, david@segura.org

BLOG: http://www.osdeploy.com

VERSION: 18.9.4



Original credit to Mike Robbins

http://mikefrobbins.com/2018/01/18/use- ... -windows-s

erver-2016-iso/



Additional credit to Sergey Tkachenko

https://winaero.com/blog/powershell-win ... table-usb/



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Copy-IsoToUsb -ISOFile "C:\\Temp\\SW_DVD5_Win_Pro_Ent_Edu_N_10_1709_64BIT_English_MLF_X21-50143.ISO"

-MakeBootable -USBDriveLabel WIN10X64



You will be prompted to select a USB Drive in GridView











RELATED LINKS

https://www.osdeploy.com





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Export-OSDCertificatesAsReg; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Export-OSDCertificatesAsReg [<CommonParameters>]



ModuleName : OSDeploy

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Export-OSDCertificatesAsReg

Category : Function

Component :

Role :

Functionality :





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Get-DownLinks; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Get-DownLinks [-URL] <string> [[-Extension] <string>] [<CommonParameters>]



ModuleName : OSDeploy

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Get-DownLinks

Category : Function

Component :

Role :

Functionality :