Mirroring drives with robocopy

28 Mar 2016

how to windows

Following command can be used to mirror content between drives

robocopy e:\ z:\ /mir /xd "`$RECYCLE.BIN" "System Volume Information"
//  usage
//  robocopy <source> <destination>  [<File>[ ...]] [<Options>]
//  /mir                    - create exact mirror
//  /xd <directory>[...]    - exclude directories

All parameters reference available in official documentation

Windows 10 PackageManagement

22 Mar 2016

chocolatey how to package management powershell windows

Windows 10 comes with nice feature - OneGet - Manager of Package managers. It simplifies way of installing software on a PC and what is more important - it allows to make it scriptable. I'm big fan of Chocolatey so I was glad to learn that Microsoft took care of integrating it with OneGet. Basic info can be found in Scott Hanselman blog post Apt-Get for Windows - OneGet and Chocolatey on Windows 10 and on Microsoft TechNet blog post Introducing PackageManagement in Windows 10.