locked
how to check which installations installed in a sharepoint farm using powershell RRS feed

  • Question

  • Hi

    how to check which installations installed in a sharepoint farm using powershell

    like: sharepoint 2013 version

    language packs

    cumulative updates 


    adil

    Sunday, March 6, 2016 6:06 PM

Answers

  • Hi adil,

    Go to CA->Upgrade and migration->Check product and patch installation status.

    You will see a whole list on installs and the language packs.

    Best Regards,

    CY


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.


    Monday, March 7, 2016 8:15 AM

All replies

  • You've got one farm, do it through the GUI. Alternatively search for scripts, this sort of thing has been done before.
    Sunday, March 6, 2016 10:47 PM
  • Hi adil,

    Go to CA->Upgrade and migration->Check product and patch installation status.

    You will see a whole list on installs and the language packs.

    Best Regards,

    CY


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.


    Monday, March 7, 2016 8:15 AM
  • Stefan has written a small <g class="gr_ gr_68 gr-alert gr_spell undefined ContextualSpelling ins-del multiReplace" data-gr-id="68" id="68">powershell</g> script which retrieves the version information for the patch baseline from the registry and allows to identify component

    # PowerShell script to display SharePoint products from the registry.
    
    Param(
      # decide on whether all the sub-components belonging to the product should be shown as well
      [switch]$ShowComponents
    )
    
    # location in registry to get info about installed software
    
    $RegLoc = Get-ChildItem HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall
    
    # Get SharePoint Products and language packs
    
    write-host "Products and Language Packs"
    write-host "-------------------------------------------"
    
    $Programs = $RegLoc | 
    	where-object { $_.PsPath -like "*\Office*" } | 
    	foreach {Get-ItemProperty $_.PsPath} 
    $Components = $RegLoc | 
    	where-object { $_.PsPath -like "*1000-0000000FF1CE}" } | 
    	foreach {Get-ItemProperty $_.PsPath} 
    
    # output either just the info about Products and Language Packs
    # or also for sub components
    
    if ($ShowComponents.IsPresent)
    {
    	$Programs | foreach { 
    		$_ | fl  DisplayName, DisplayVersion; 
    
    		$productCodes = $_.ProductCodes;
    		$Comp = @() + ($Components | 
    			where-object { $_.PSChildName -in $productCodes } | 
    			foreach {Get-ItemProperty $_.PsPath});
    		$Comp | Sort-Object DisplayName | ft DisplayName, DisplayVersion -Autosize
    	}
    }
    else
    {
    	$Programs | fl DisplayName, DisplayVersion
    }
    https://blogs.technet.microsoft.com/stefan_gossner/2015/04/20/powershell-script-to-display-version-info-for-installed-sharepoint-product-and-language-packs/



    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

    Monday, March 7, 2016 3:31 PM