I am trying to schedule actions via API/Powershell. I submit the webrequest along with some XML (below) with what should be the local start and end times. What happens is the times get converted to 3 hours ahead, not the actual local time I need the schedule to occur.
- The BES Clients and BES Server are all located in the Eastern Time Zone
- I am in the Pacific Time Zone
I am populating the blank elements in the PS script with the datetime object. As an example, when I schedule something to occur at 8:00:00 PM Client Local Time, the job shows up scheduled at 11:00PM Client Local Time - as if it is adding the three-hour difference from me to the server.
When I execute my PS script from a host located in the Eastern Time zone, the scheduled times are correct.
<HasStartTime>true</HasStartTime>
<StartDateTimeLocal></StartDateTimeLocal>
<HasEndTime>true</HasEndTime>
<EndDateTimeLocal></EndDateTimeLocal>
<UseUTCTime>false</UseUTCTime>