Set time format for sessions hosts via NMM

It would be great to have the ability to set a desired time format for Session Hosts and other servers via NMM

1

Comments (5 comments)

0
Avatar
DStephenson

Welcome to the community, Erion Skrapalliu! 🙂

I can see how that could be useful, especially outside of the United States.
Out of curiosity, are you using the Enable time zone redirection feature?
If so, does the formatting match what's on the local machine or does it just accept whatever is set on the AVD Host?

Something else you could try, until Nerdio is able to add that feature request, would be to have a scripted action to set that on the servers.
I'm no PowerShell expert, but something like this should work:

# Specify the desired date and time format
$desiredDateTimeFormat = 'D/MM/yy HH:mm:ss'

# Set the culture to update the date and time format
Set-Culture -CultureInfo (New-Culture -DateTimeFormat $desiredDateTimeFormat)

# Display the current date and time format to verify the change
Get-Culture | Select-Object -ExpandProperty DateTimeFormat

 

1
Avatar
Erion Skrapalliu

Thanks Dave,  Enable time zone redirection is ticked but we have an application that is depended on the time format.

Will check GPO and PowerShell options in the meantime

0
Avatar
DStephenson

Ahh... Those pesky application requirements. I've been bit in the butt a few times by those.
Good luck.
If you hit a roadblock, feel free to comment back here.
We've got a great community who is very willing to help out. 🙂

0
Avatar
Marcos Artiaga

Hey Erion Skrapalliu, welcome to the community!

What I would recommend here is to have the time format set the way that you want it on the desktop image, and then when you deploy session hosts based on that image, it would keep those settings. Give it a shot and let me know if that works for you!

0
Avatar
Erion Skrapalliu

Marcos Artiaga , thanks for suggestion. That was the first thing I tried, however when the image is used for sessions hosts, the user login in received the original time format. Not sure if there is a settings in host pool or session host about the time format...I could not see one

 

Please sign in to leave a comment.