====== Install/update ======
[[https://www.microsoft.com/en-us/software-download/windows10ISO|Download Windows10 image]]
===== Run Windows Update from commandline =====
Use the [[http://msdn.microsoft.com/en-us/library/aa387102%28VS.85%29.aspx|WUA_SearchDownloadInstall.vbs]] script provided by Microsoft.
**References:**
* [[https://superuser.com/a/462426]]
===== Microsoft Online/Office365/Azure =====
* [[http://www.brucebnews.com/2016/06/finding-your-way-through-microsofts-maze-of-work-and-personal-accounts/|Understanding Microsoft Work And Personal Accounts]].
* [[http://www.brucebnews.com/2016/06/how-to-change-the-login-for-your-microsoft-account-and-why-you-should/|How To Change The Login For Your Microsoft Account]] - **//critical//** if you have both a work and personal account that share an e-mail address.
* [[https://answers.microsoft.com/en-us/msoffice/forum/msoffice_o365admin-mso_dep365/remove-personal-account/ce23c068-0a9d-409f-9a12-dfdcb9907280?tab=question&status=AllReplies#tabs|Remove Personal Account]] discussion on Microsoft Community.
* [[https://support.microsoft.com/en-us/help/12412/microsoft-account-how-to-close-account|How to Close Your Microsoft Account]]
**NOTE:** Azure accounts cannot be closed. A //subscription// can be closed/removed, but the account remains. Neither can a credit card currently be removed from an account.
===== Command-line (CMD.EXE) =====
==== Run default browser ====
start http://google.com
==== Get part of an environment variable ====
Syntax
%variable:~num_chars_to_skip%
%variable:~num_chars_to_skip,num_chars_to_keep%
**References:**
* [[https://ss64.com/nt/syntax-substring.html]]