This module provides an improved Format-Table that lets you persist the resultant Format-Table view either to the current session or to a .ps1xml formatting file.
This module requires PowerShell 7.2+, however the generated XML format files can be used with earlier versions.
PS> Get-Date