I have a random Date Generator, but I am now trying to add this date to the desctiption of each user on the domain. As of now the only other thing in the Description is their age which is just a number.
$StartDate = Get-Date -Date 2015-01-01
$EndDate = Get-Date -Date 2022-11-11
$RangeInDays = 0..(($EndDate - $StartDate).Days)
$DaysToAdd = Get-Random -InputObjects $RangeInDays
$RandDate = $Startdate.AddDays($DaysToAdd)
Get-ADUser -Prop Description | ForEach {
$desc = $._description + $RandDate Set-ADUser $_.sAMAccountName -Description $desc
}