Using PowerShell get all the languages packs installed on web servers in the SharePoint 2010 farm

Steps Involved:

·         Go to Start => All Programs => Microsoft SharePoint 2010 Products =>SharePoint 2010 Management Shell.

·         Run as an administrator.

·         Script:

$site=get-spsite "http://servername:22222/sites/Test/"$web=$site.RootWeb

$installedLanguages = $web.RegionalSettings.InstalledLanguages

foreach ($language in $installedLanguages)

{

   write-host -f green "Name: " $language.DisplayName "LCID: " $language.LCID

}                      

 

 

 
 

Ebook Download
View all
Learn
View all