< Back

Out-PodeHost

Sat Jan 18, 2020 7:17 pm

NAME Out-PodeHost



SYNOPSIS

Outputs an object to the main Host.





SYNTAX

Out-PodeHost [-InputObject] <Object> [<CommonParameters>]





DESCRIPTION

Due to Pode's use of runspaces, this will output a given object back to the main Host.





PARAMETERS

-InputObject <Object>

The object to output.



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>'Hello, world!' | Out-PodeHost













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>@{ Name = 'Rick' } | Out-PodeHost















RELATED LINKS