Skip to content
ConsoleMonster
Cmdlet

Unregister-ConsoleView

Module
ConsoleMonster
Inputs
None

Removes registered ConsoleMonster views and value shapers.

Syntax

Unregister-ConsoleView
[-TypeName] <String[]>
[<CommonParameters>]
#
Parameter set: Type
Unregister-ConsoleView
-Path <String[]>
[<CommonParameters>]
#
Parameter set: File

Description

Names the registered types directly or reads their names from a validated data-only .consoleviews.psd1 file. Does not remove or execute the file.

Examples

Example 1

Unregister-ConsoleView -TypeName 'Contoso.Server'

Remove a custom result view.

Parameters

-TypeName String[] requiredposition: 0sets: Type
Type names whose registrations should be removed.
-Path String[] requiredsets: File
Data-only view files listing the type registrations to remove.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.