<!-- The old Scripting Blog contains many useful posts that may have errors or need updating to work for the current version of PowerShell. Use this template to request updates to posts in the old blog. --> # Summary of the update request To get the day of the week, you use the DateTime's `DayOfWeek` property, or if you want a numeric result, use `value__` - Link to the post in the old blog: <https://devblogs.microsoft.com/scripting/how-can-i-determine-the-day-of-the-week/> - Description of what needs to be changed: Get a date in the past sho getting the date using Get-Date. Then, get Day of Weel and the value <!-- - E.g. added new parameters, changed parameter behavior, changed output - Provide detailed information about the changes -->