Powershell – Get-Date ,Time is Everything !

Can you tell what was the day of the week on date 01/01/2015 ?

or what was the day of the week on your last or next birthday ?

this hard questions are really easy to solve ..by powershell of-course all you need to do is open the PS Console

and type –

what did you get ?

we can set the date with different format as we wish ,example –

what about the Time ?

now ..we can get the date and time just by entering the command Get-Date 

but lets wrap it up with style –

 

here’s a quiz 🙂

can you get all Sundays since 01/01/2013 ?

if so ..send your script to PSAdmin@POSHDB.COM

(Visited 21,657 times, 1 visits today)

Leave a Reply