Write PodeHost - mdaneri/Pode GitHub Wiki
external help file: Pode-help.xml Module Name: Pode online version: PodeType: Utilities schema: 2.0.0
Writes an object to the Host.
Write-PodeHost [[-Object] <Object>] [-ForegroundColor <ConsoleColor>] [-NoNewLine] [-Force]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Write-PodeHost [[-Object] <Object>] [-ForegroundColor <ConsoleColor>] [-NoNewLine] [-Explode] [-ShowType]
[-Label <String>] [-Force] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Writes an object to the Host. It's advised to use this function, so that any output respects the -Quiet flag of the server.
'Some output' | Write-PodeHost -ForegroundColor Cyan
Show the object content
Type: SwitchParameter
Parameter Sets: object
Aliases:
Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseOverrides the -Quiet flag of the server.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseAn optional foreground colour.
Type: ConsoleColor
Parameter Sets: (All)
Aliases:
Accepted values: Black, DarkBlue, DarkGreen, DarkCyan, DarkRed, DarkMagenta, DarkYellow, Gray, DarkGray, Blue, Green, Cyan, Red, Magenta, Yellow, White
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseShow a label for the object
Type: String
Parameter Sets: object
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseWhether or not to write a new line.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseThe object to write.
Type: Object
Parameter Sets: (All)
Aliases: Message
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseShow the Object Type
Type: SwitchParameter
Parameter Sets: object
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.