Can I permanently change the windows timezone vis ssh and cygwin?

0

I have a bunch of VM's with Windows Server 2008 R2 and ssh running via cygwin. I want to change the timezone on all of them. I would prefer not to RDP to every one of them and do it manually.

I have found these commands will change the timezone:

export TZ=GMT
echo $TZ

But this doesn't persist when my windows server 2008 restarts.

Any Ideas?

grimebox

Posted 2016-04-06T16:00:24.083

Reputation: 3

I'm a little confused. It appears all you're doing is creating an environment variable named "TZ", setting it to "GMT" and then echoing it. Which would do nothing to the actual Windows timezone settings..? – Ƭᴇcʜιᴇ007 – 2016-04-06T18:28:22.603

Also you may want to check this SO question out: http://stackoverflow.com/questions/6444502/how-do-i-set-an-environment-variable-in-cygwin

– Ƭᴇcʜιᴇ007 – 2016-04-06T18:28:48.543

You should use windows command see as example

– matzeri – 2016-04-13T09:17:18.907

No answers