Set-Timezone not working in Automation Account

Lars Kartevoll 21 Reputation points
2020-12-21T14:41:51.657+00:00

I am trying to use Set-Timezone so that bulkcopying from a DataTable to SqlServer does not alter my DateTime values based on the UTC timezone of the Automation Account.
However when I try to use Set-Timezone, I seem to get an internal error:

49928-image.png

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,159 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andreas Baumgarten 99,466 Reputation points MVP
    2020-12-21T15:10:17.897+00:00

    As far as I know Azure Automation Runbooks are using UTC timezone and you can't change this with Set-Timezone.


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful