I am just wondering what the class name is to find the regional settings of a Windows OS? I am using it for a report. I am preferring wmi because at the moment we have servers that are still using powershell v2 and they don't want to upgrade to the latest version just yet.
Hi, I dont think you'll find it via wmi. Regional data is stored in the registry per profile, not per computer. You can look at the registry to get the data you want, it will be under hkey_current_user or hkey_users\ and then Control Panel\International
Although country code might hint the regional, the locale and OSLangugae definitely dont relate to regional settings. I could have a Arabic locale windows and Arabic interface, but my regional would be Yemen, or Saudi Arabia, or others.