Method: Chef::Resource::Locale#get_system_locale_windows

Defined in:
lib/chef/resource/locale.rb

#get_system_locale_windowsString

Gets the System-locale setting for the current computer.

Returns:

  • the current value of the System-locale setting.

See Also:



95
96
97
# File 'lib/chef/resource/locale.rb', line 95

def get_system_locale_windows
  powershell_exec("Get-WinSystemLocale").result["Name"]
end