Open
Description
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