PowerTip: Use PowerShell to Find Day of Week

Summary: Learn how to use Windows PowerShell to find the day of the week.

Hey, Scripting Guy! Question How can I use Windows PowerShell to find which day of the week a specific date will occur?

Hey, Scripting Guy! Answer Use the Get-Date cmdlet, and specify day, month, and year parameters, for example:

Get-Date -Month 2 -Day 14 -Year 2015

Comments (6)

  1. Chen V says:

    Little good one. Thanks Ed

  2. Chen V says:

    @Lee you can configure in portal or use mobile app. I found one in windows store.

  3. Jbite says:

    my first ever cmd…

  4. lee says:

    How would we use powershell to alert on issues reported for Office 365 service health via

  5. DOW says:

    PS C:scripts> ([datetime]’2-14-2015′).DayOfWeek

Skip to main content