PowerTip: Use PowerShell to Verify UI Culture

PowerTip: Use PowerShell to Verify UI Culture

  • Comments 1
  • Likes

Summary: Use Windows PowerShell to verify user interface culture.

Hey, Scripting Guy! Question I have several language installations of Windows on my network, and prior to running a script, I would like to use
          Windows PowerShell to verify the input culture so I can choose the correct operating system.

Hey, Scripting Guy! Answer Use the Get-UICulture cmdlet and choose the Name or the LCID property:

(Get-UICulture).name

(Get-UICulture).LCID

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • In my system (Get-UICulture).name returns en-US, whereas (Get-Culture).name gives en-GB. As I am in the UK I need to change the former to en-GB, but apparently this is impossible using PowerShell V4 on Windows 7. Is there a workaround for this please?