The lazy programmer scripts
scripts that work

Lazy create ISO from folder GitHub

'mkisofs' is a great tool for creating ISOs from folders in Windows.

You can download the tool from "https://smithii.com/cdrtools".

Tested in PowerShell on Windows 10 x64.

#ps1

$folderName = "myFolder"
$isoName = "myIso"
$label = "myLabel"
$publisher = "me@example.com"

# create folder
New-Item -Type Directory -Path $folderName

# populate folder
# add here the files required

# create ISO from that folder
mkisofs.exe -o $isoName `
    -publisher $publisher -V $label `
    -quiet -J -r -ldots -allow-lowercase -allow-multidot -l `
    $folderName

That's all, folks!

Written by kami on Wednesday August 14, 2019
Permalink - Tags: powershell, windows, openstack, cloud, virtual-machines

Leave a comment

comments powered by Disqus

« Lazy find Linux interface from PCI ID - Lazy disable Windows 10 first logon animation »