Diskpart Examples for Windows 7/8

- Posted in Uncategorized by
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

SCP

- Posted in Uncategorized by
Using SCP: scp user@host:path/from/home/to/item {destination}

DISM

- Posted in Uncategorized by
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

Get OS X Version via Command Line

- Posted in Uncategorized by
Get OS X Version returns 10.7.2: :::bash sw_vers -productVersion returns 7: :::bash sw_vers -productVersion | awk -F. `{ print $2 }`

Fun with Native boot VHDs

- Posted in Uncategorized by
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
Page 4 of 7