PowerShell - Manually Create .cab Files

Updated on 2/26/2015
[void][reflection.assembly]::LoadFile("C:\CabLib.dll")
$c = new-object CabLib.Compress
$c.CompressFolder("C:\folderWithMyFiles", "C:\junk.cab", $null, $true, $true, 0)

To run this script you will need to obtain the cablib.dll from the WSPBuilder project on github. See https://wspbuilder.codeplex.com/releases/view/30858