PowerTip: Get Week of Year with PowerShell
Summary: Learn how to use Windows PowerShell to get the week of the year.
How can I use Windows PowerShell to find how many weeks are left in the current year—without doing lot of math or
Use the Get-Date cmdlet but specify a –uformat of %V:
Get-Date -UFormat %V
Note Please remember that UFormat strings are case sensitive, so it is capital V, not lowercase v.