For UEFI computers: :::bat
select disk 0
clean
convert gpt
create partition primary size=300
format quick fs=ntfs label="Windows RE Tools"
assign letter="T"
set
Mounting a WIM: Dism /Mount-Wim /WimFile:{Path To WIM} /index:{INDEX} /MountDir:{PATH TO MOUNT DIR} Adding a package to a WIM: Dism /image:{PATH TO MOUNT DIR} /Add-Package /PackagePath:{PATH TO
Create VHD with Diskpart For production environments the Microsoft recommends using fixed VHD type create vdisk file=C:\VHDs\{name}.vhd maximum={MAXMB} type=expandable select vdisk
:::perl
sub osascript($) { system 'osascript', map { ('-e', $_) } split(/\n/, $_[0]); } and to use it: :::applescript
osascript <<END;
tell application "Finder"
display dialog "Hello"
end