"$($date.Year)$("{0:00}" -f [Math]::ceiling($date.Month/3) )"
Format a DateTime value in the Year Quater format
PS C:\> $Date = Get-Date >> "$($date.Year)$("{0:00}" -f [Math]::ceiling($date.Month/3) )" 201901
"$($date.Year)$("{0:00}" -f [Math]::ceiling($date.Month/3) )"
DetailsPS C:\> $Date = Get-Date >> "$($date.Year)$("{0:00}" -f [Math]::ceiling($date.Month/3) )" 201901