Powershell Tip #122: Get the start time and end time of the current day By powershellgu | October 23, 2016 2 Comments Tip: You can get the start time and end time of the current day : PowerShell $beginDay = Get-Date -Hour 0 -Minute 00 -Second 00 $endDay = $beginDay.AddDays(1).AddSeconds(-1) 12 $beginDay = Get-Date -Hour 0 -Minute 00 -Second 00$endDay = $beginDay.AddDays(1).AddSeconds(-1)
Pingback: Powershell Tip #121: Get total RAM installed | Powershell Guru
Pingback: Powershell Tip #123: Extract the CN (Common Name) from DN (Distinguished Name) in Active Directory | Powershell Guru