Summary: Find the day of the week by using Windows PowerShell.
How can I use Windows PowerShell to find what day of the week a particular date falls on?
Access the DayOfWeek property from the DateTime object:
(get-date).dayofweek
Summary: Find the day of the week by using Windows PowerShell.
How can I use Windows PowerShell to find what day of the week a particular date falls on?
Access the DayOfWeek property from the DateTime object:
(get-date).dayofweek
The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.
0 comments