PowerTip: Use PowerShell to Find Day of Week

Doctor Scripto

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


Discussion is closed.

Feedback usabilla icon