forked from marckean/Azure-DSC-Automation
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUserLogonScript.ps1
More file actions
13 lines (12 loc) · 855 Bytes
/
UserLogonScript.ps1
File metadata and controls
13 lines (12 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
#
# UserLogonScript.ps1
#
# New-PSDrive -Name HKU -PSProvider Registry -Root "HKEY_USERS"
Set-ItemProperty -Path 'HKCU:\Control Panel\International' -Name 'sShortDate' -Value "d/M/yyyy"
Set-ItemProperty -Path 'HKCU:\Control Panel\International' -Name 'sLongDate' -Value "dddd,d MMMM,yyyy"
Set-ItemProperty -Path 'HKCU:\Control Panel\International' -Name 'sShortTime' -Value "h:mm tt"
Set-ItemProperty -Path 'HKCU:\Control Panel\International' -Name 'sTimeFormat' -Value "h:mm:ss tt"
Set-ItemProperty -Path 'HKCU:\Control Panel\International' -Name 'iFirstDayOfWeek' -Value "6"
Set-ItemProperty -Path 'HKCU:\Control Panel\International' -Name 'sCountry' -Value "Australia"
Set-ItemProperty -Path 'HKCU:\Control Panel\International' -Name 'LocaleName' -Value "en-AU"
Set-ItemProperty -Path 'HKCU:\Control Panel\International\Geo' -Name 'Nation' -Value "12"