Skip to content

Instantly share code, notes, and snippets.

View skokhanovskiy's full-sized avatar

Stepan Kokhanovskiy skokhanovskiy

View GitHub Profile
@skokhanovskiy
skokhanovskiy / Send-Datagram.ps1
Last active July 28, 2017 13:10 — forked from hotstone/Send-Datagram
Send UDP datagram from Powershell
function Send-Datagram
{
[CmdletBinding(SupportsShouldProcess = $true)]
param
(
[Parameter(Position = 0, Mandatory = $true, ValueFromPipeline = $true)]
[AllowEmptyCollection()]
[AllowEmptyString()]
[AllowNull()]
[Alias('Data')]