Data Parameter (Send-UDP Cmdlet)
A string of data to be sent to the remote host.
Syntax
Send-UDP -Data string
Remarks
Assigning a string to the Data parameter makes the cmdlet send the string to the remote host.
Attempts to send the string assigned to Data as a complete message. If system buffers are full, or the message cannot be delivered for any other reason, an error is returned, and no portion of the message is sent. Note: this behavior is different from TCP where portions of a message can be sent. UDP sends either a complete message or nothing at all.
Default Value
""
Parameter Position
2
Parameter Alias
Text