title: Changing Windows Time and Date Format
body: <p>I'd like to automate preferences on a Windows machine for the date and time formats used throughout the OS.</p>
  
  <p>What PowerShell commands can I use to automate this task of changing values?</p>
  
  <ul>
  <li>short date format</li>
  <li>short and long time format</li>
  </ul>
  
  <p>These <a href="https://i.stack.imgur.com/IL4oV.png" rel="noreferrer">options are buried deep in Control Panel.</a></p>
  
  <p><img src="https://i.stack.imgur.com/TSjG4.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/r1j7X.png" alt="enter image description here"></p>