Contact Info

Crumbtrail » Administration » Powershell » Powershell 3.0 » Remove-TypeData

Remove-TypeData - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »


Short description
Deletes extended types from the current session

Remove-TypeData -TypeData <TypeData> [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-TypeData -Path <String[]> [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-TypeData [-TypeName] <String> [-Confirm] [-WhatIf] [<CommonParameters>]

The Remove-TypeData cmdlet deletes extended type data  from the current session. This cmdlet affects only the current s
ession and sessions that are created in the current session.

You can add properties and methods to objects in Windows PowerShell by defining them in  Update-TypeData commands and  
Types.ps1xml files. Remove-TypeData deletes those extended properties and methods from the current session. Remove-Type
Data does not delete the Types.ps1xml files or delete any extended type definitions from the Types.ps1xml files. For mo
re information about Types.ps1xml files, see about_Types.ps1xml (

This cmdlet is introduced in Windows PowerShell 3.0.