Summary: Use PowerShell and Math to identify a leap year.
Is there a way to use PowerShell to identify whether this year is a leap year?
Actually there is! You can use a combination of Get-date to find out the year and the Modulus function in PowerShell.
((Get-Date).year)%4
If the value is zero, the current year is a leap year!