Cmdlet
Write-ConsoleKeyValue
Writes an aligned key/value list.
Syntax
Write-ConsoleKeyValue [[-Data] <Object>] [-InputObject <PSObject>] [-Markup] [-Name <String>] [<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Writes an aligned key/value list.
Same parameters as New-ConsoleKeyValue; the list is written immediately.
Examples
EXAMPLE 1
Write-ConsoleKeyValue -Name 'Name'Parameters
- -Data Object
- A hashtable or an object whose properties become the pairs.
- -InputObject PSObject
- An object from the pipeline whose properties become the pairs.
- -Markup SwitchParameter
- Treat values as markup.
- -Name String
- 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.