SKusal som tento postup:
http://windows7-issues.blogspot.sk/2011 ... -easy.html
ale nepomohol som si.... kde robim chybu?
T.

Kód: Vybrať všetko
$mac = [byte[]]($args[0].split('-') |% {[int]"0x$_"})
$UDPclient = new-Object System.Net.Sockets.UdpClient
$UDPclient.Connect(([System.Net.IPAddress]::Broadcast),4000)
$packet = [byte[]](,0xFF * 102)
6..101 |% { $packet[$_] = $mac[($_%6)]}
$UDPclient.Send($packet, $packet.Length)