< Back
Write-PodeTcpClient
Post
NAME Write-PodeTcpClient
SYNOPSIS
Writes data to a TCP Client stream.
SYNTAX
Write-PodeTcpClient [[-Message] <String>] [[-Client] <Object>] [<CommonParameters>]
DESCRIPTION
Writes data to a TCP Client stream.
PARAMETERS
-Message <String>
Parameter description
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Client <Object>
An optional TcpClient to write data.
Required? false
Position? 2
Default value
Accept pipeline input? false
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:\\>Write-PodeTcpClient -Message '250 OK'
RELATED LINKS
SYNOPSIS
Writes data to a TCP Client stream.
SYNTAX
Write-PodeTcpClient [[-Message] <String>] [[-Client] <Object>] [<CommonParameters>]
DESCRIPTION
Writes data to a TCP Client stream.
PARAMETERS
-Message <String>
Parameter description
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Client <Object>
An optional TcpClient to write data.
Required? false
Position? 2
Default value
Accept pipeline input? false
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:\\>Write-PodeTcpClient -Message '250 OK'
RELATED LINKS