Public/Enable-FileSizeFormat.ps1
function Enable-FileSize { [CmdletBinding()] param() Update-FormatData -PrependPath ([System.IO.Path]::Combine((Split-Path -Path $PSScriptRoot -Parent),'Lib\FileLength-Formatting\Show-LinkTarget.format.ps1xml')) Update-TypeData -PrependPath ([System.IO.Path]::Combine((Split-Path -Path $PSScriptRoot -Parent),'Lib\FileLength-Formatting\MyTypes.types.ps1xml')) } |