$date.DateTime
Format a DateTime value in the Date Time format
PS C:\> $Date = Get-Date >> $date.DateTime Thursday, March 28, 2019 11:05:55 AM
$date.DateTime
DetailsPS C:\> $Date = Get-Date >> $date.DateTime Thursday, March 28, 2019 11:05:55 AM