Skip to content

Instantly share code, notes, and snippets.

@techthoughts2
Created January 9, 2020 07:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save techthoughts2/a0ad0936f64172d0da15e9c49ecd438d to your computer and use it in GitHub Desktop.
Save techthoughts2/a0ad0936f64172d0da15e9c49ecd438d to your computer and use it in GitHub Desktop.
Update-FormatData -AppendPath 'C:\ProjectName.Format.ps1xml'
# Format files (.ps1xml) to be loaded when importing this module
FormatsToProcess = @(
'ProjectName.Format.ps1xml'
)
$item.PSObject.TypeNames.Insert(0, 'The.Name.Here')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment