title: How to check if a user passed date is Wednesday using PowerShell?
body: <p>I have an use case where user passes a date from the past. But I need to check if it's a Wednesday. If not, I want to be able to set it to next Wednesday 5 AM. Can somebody please tell me what would be best approach to go about this using PS?</p>
  
  <p>Thanks.</p>