PowerTip: Use PowerShell to Create Future Dates

Doctor Scripto

Summary: Use Windows PowerShell to create a date in the future.

Hey, Scripting Guy! Question How can I easily create dates in the future?

Hey, Scripting Guy! Answer Use the Get-Date cmdlet and add days to it:

(Get-Date).adddays(2)

0 comments

Discussion is closed.

Feedback usabilla icon