Last Day Of Year

Get-Date $date.Date -day 31 -Month 12
Example
PS C:\> $Date = Get-Date
>> Get-Date $date.Date -day 31 -Month 12


Tuesday, December 31, 2019 12:00:00 AM