dbatools is a free PowerShell module with over 180 SQL Server administration, best practice and migration commands included.


Get-DbaLocaleSetting

Gets the Locale settings on one or more computers.

Examples

Gets the Locale settings on computer sqlserver2014a.

Get-DbaLocaleSetting -ComputerName sqlserver2014a

Gets the Locale settings on computers sql1, sql2 and sql3.

‘sql1′,’sql2′,’sql3’ | Get-DbaLocaleSetting

Gets the Locale settings on computers sql1 and sql2, and shows them in a grid view.

Get-DbaLocaleSetting -ComputerName sql1,sql2 | Out-Gridview

Author

This command was created by Klaas Vandenberghe. You can find Klaas on Twitter and his blog.

Get-Help

From PowerShell, execute Get-Help Get-DbaLocaleSetting -Detailed for more information on this function.

Source Code

Want to see the source code? View Get-DbaLocaleSetting.ps1 on GitHub
 

Related commands