Get-Date – How to get and use Dates in PowerShell

With Get-Date we can get the current date and time which is often used in PowerShell scripts to timestamp the output or in combination with logging. But besides timestamping, we can also use dates to compare or calculate the age … Continue reading Get-Date – How to get and use Dates in PowerShell