Get_SPProduct cmdlets behaving weird:
- On running GET-SPProduct -Local to one of server in farm throws error
Get-SPProduct : Object reference not set to an instance of an object. At line:1 char:14 + Get-SPProduct <<<< -Local + CategoryInfo : InvalidData: (Microsoft.Share...letGetSPProduct:SpCmdletGetSPProduct) [Get-SPProduct], NullReferenceException + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SpCmdletGetSPProduct
- Unable to get Farm-Level and Server Patch Level information. These commands don't work:
get-spproduct |get-member $sp2010 = get-spproduct $sp2010.servers $sp2010.InstallStatus $sp2010.RequiredButMissingPatchableUnits $sp2010.RequiredButMissingPatches $sp2010.RequiredButMissingProducts
Refering :
Please advice
-prs