Summary: Learn how to remove type data by using Windows PowerShell.
How can I remove a custom type data that is producing an error message when I try to update it
in my Windows PowerShell session?
Use the Get-TypeData cmdlet to retrieve an instance of the type data, and pipe it to the
Remove-TypeData cmdlet, for example:
"Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Volume" |
Get-TypeData | Remove-TypeData
Note This is a long single-line command that is broken at the pipeline character for readability.