String windowsTz = TimeZoneMapping.getWindows(vm.getTimezone()); if (windowsTz != null) { buf.append(" -timezone " + PowerShellUtils.escape(windowsTz));
vm.setTimezone(TimeZoneMapping.getJava(entity.get("timezone")));
template.setTimezone(TimeZoneMapping.getJava(entity.get("timezone")));
String windowsTz = TimeZoneMapping.getWindows(template.getTimezone()); if (windowsTz != null) { buf.append(" $t.timezone = " + PowerShellUtils.escape(windowsTz) + ";");
String windowsTz = TimeZoneMapping.getWindows(vm.getTimezone()); if (windowsTz != null) { buf.append(" $v.timezone = " + PowerShellUtils.escape(windowsTz) + ";");