Get-LeapYear.ps1

by Jan 20, 2009

< #   .SYNOPSIS      Demonstrates use of System.Datetime to determine leap year   .DESCRIPTION      This script creates four date objects and checks to see if       the date is a leap year. The last object is today's date.   .NOTES      File Name  : Get-LeapYear.ps1      Author     : Thomas Lee – tfl @psp .co.uk      Requires   : PowerShell V2 CTP3  .LINK      http://www.pshscripts.blogspot.com  .EXAMPLE… Read the full text.