title: Send and Receive data via UDP in PowerShell
body: <p>I am trying to write a script to test and application using PowerShell. The test should consist of sending a string to a remote server over UDP, then reading the response from that server and doing something with the result. The only help I need is with the middle two ('send string', then 'receive response') steps of the script:</p>
  
  <ol>
  <li>Send string "ABCDEFG" to server 10.10.10.1 on port UDP 5000</li>
  <li>Receive response from server 10.10.10.1</li>
  </ol>
  
  <p>I am relatively familiar with PowerShell, but this is my first time having to deal with sockets, so I am in unfamiliar waters, and I can't seem to make sense of the few examples I have found on posts.</p>