Skip to content
ConsoleMonster
Cmdlet

Write-ConsoleKeyValue

Module ConsoleMonster
Inputs
System.Management.Automation.PSObject

Writes an aligned key/value list.

Syntax

Write-ConsoleKeyValue [[-Data] <Object>] [-InputObject <PSObject>] [-Markup] [-Name <String>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

Writes an aligned key/value list.

Same parameters as New-ConsoleKeyValue; the list is written immediately.

Examples

Authored help example

EXAMPLE 1

Write-ConsoleKeyValue -Name 'Name'

Parameters

-Data Object optionalposition: 0
A hashtable or an object whose properties become the pairs.
-InputObject PSObject optionalpipeline: True (ByValue)
An object from the pipeline whose properties become the pairs.
-Markup SwitchParameter optional
Treat values as markup.
-Name String optional
The live name used by Set-ConsoleValue (default keyvalue).

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.