title: Powershell RDP Session and CLI Script
body: <p>What I am looking to do seems fairly simple but I cant figure it out.  I am looking to run a Powershell script to launch an RDP session, copy a file to the c:\ directory, then run that file from a command line.  I would like it to loop, getting the paramaters froma  csv file, such as server IP,  username, and password.  So in essence the steps would be as follows...</p>
  
  <ol>
  <li>import infor from the csv file to define variables </li>
  <li>copy specefied file
  (then loop)</li>
  <li>launch mstsc.exe</li>
  <li>enter server IP, username, password</li>
  <li>paste copied file into the c:\ directory </li>
  <li>launch cmd.exe</li>
  <li>Run the file that was copied to the c:\ directory </li>
  <li>log off server </li>
  </ol>
  
  <p>I wanted to see if someone could help me out with this.I am new to power shell and have been able to work through a lot of it.  If someone could point me in the right direction, or even provide me the code to fill in the blanks, I would greatly appreaciate it.</p>