title: Powershell script pass Date (Custom Format) as Parameter
body: <p>I have looked around but can't seem to find an exact answer to my question. I am writing a Powershell script that should run until it reaches the End_Date provided as a parameter by the user.</p>
  
  <pre><code>Param(
  [Parameter][DateTime]$end_date
  )
  </code></pre>
  
  <p>With the above code when i call the script it will ask me to provide a date. The problem is it expects a long format of the date and I just want to give it Day/Month/Year like 28/08/2016 but i can't figure out how. Any help appreciated. Thanks</p>