Windows
Get windows license
Probably don't need this after windows 8 because the key is tied to the system but just in case.
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
Robocopy (Like rsync)
This command is good for backing up files.
robocopy /b /e /xa:s /xjd /sl /a-:hs /mt /v /fp /eta /log:"D:\To\Directory\transfer.log" /tee "C:\From\Directory" "D:\To\Directory"
ignore appdata dir:
robocopy $source $destination /XD Appdata
How to mount clonezilla img as a disk
https://github.com/fiddyschmitt/clonezilla-util