It is a pretty simple problem but looking through most of the answers and MS documentation, I could not find a simple way to use the abbreviated timezone information from Unix system in ParseExact function of DateTime in Powershell v4.
The date value that I receive is like December 29, 2016 2:04:26 PM EST
All of the elements in above date time are easily mapped except the "EST". This can of course be EST, EDT, PST, PDT or any other timezone.
MS timezone seems to require the full time zone name or id. How do we lookup EST in MS timezone in powershell?
Update* We essentially decided to ignore the timezone since we are interested in the day not the specific time of the day. There does not seem to be a simple answer except adding a case or lookup type statement and then converting it to PS style timezone (-5:00) etc.
The question that was cited as duplicate was answered 9 years ago. PS has gone through many iterations in this period so it should be reasonable to ask this question for a simpler resolution.