Summary: Use Windows PowerShell to find the day of the week.
How can I use Windows PowerShell to easily find the day of the week—for example, Monday,
Tuesday, or Wednesday?
Use the Get-Date cmdlet to return a DateTime object, and ten select the DayOfTheWeek property:
(get-date).DayOfWeek
0 comments