title: Get the ISO 8601 Week of Year of a given date in Powershell
body: <p>While searching how to get the <a href="https://en.wikipedia.org/wiki/ISO_week_date" rel="nofollow noreferrer">ISO 8601 Week of Year</a> in PowerShell, I've stumbled upon <a href="https://stackoverflow.com/questions/11154673/get-the-correct-week-number-of-a-given-date">this question for C#</a>.</p>
  
  <p>Trying not to crowd that question with PowerShell code, here's my Powershell port below. (based on the <a href="https://stackoverflow.com/a/43736741/444172">answer by user6887101</a>)</p>
  
  <p>I'll leave this 'not accepted' for a while in case anyone comes up with a better solution.</p>