Showing results for dates and times - Scripting Blog [archived]

Jan 21, 2015
1
1

Adding and Subtracting Dates with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about adding and subtracting dates with Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. One of the things I really like about Windows PowerShell is the way it simplifies adding and subtracting from dates. For example, if I want to find users who haven’t logged in to the ...

Scripting Guy!Windows PowerShellscripting techniques
Jan 20, 2015
0
0

PowerTip: Use PowerShell to Find Day of Week

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to find the day of the week.  How can I use Windows PowerShell to find which day of the week a specific date will occur?  Use the Get-Date cmdlet, and specify day, month, and year parameters, for example: Get-Date -Month 2 -Day 14 -Year 2015...

Scripting Guy!Windows PowerShellscripting techniques
Jan 20, 2015
0
0

Use PowerShell to Work with Individual Dates

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to work with dates. Microsoft Scripting Guy, Ed Wilson, is here. I don’t know about you, but one thing about my life as the Scripting Guy is that it keeps me busy. "Keeping busy" is a slang expression that means, "Dude, you are swamped." The Scripting Wife and I...

Scripting Guy!Windows PowerShellscripting techniques
Jan 19, 2015
0
0

PowerTip: Use PowerShell to Show Time

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to show the current time.  How can I use Windows PowerShell to easily display only the current time?  Use the Get-Date cmdlet and choose the Time display hint: Get-Date -DisplayHint Time...

Scripting Guy!Windows PowerShellscripting techniques
Jan 19, 2015
0
0

Working with Dates in PowerShell

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about the fundamentals of working with dates in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. For as long as I can remember, I have pretty much always hated working with dates and times. Back on my Osborne One, it was no fun. The Atari did not make it any better; neither did my ...

Scripting Guy!Windows PowerShellscripting techniques