Iam trying to generate sharepoint 2010 log file by command line Merge-SPLogFile.
But when i launch management shell it shows
The local farm is not accessible. Cmdlets with FeatureDependencyId are not regis tered.
I tried Merge-SPLogFile
PS C:\Users\Administrator> Merge-SPLogFile -Path F:\SPLogs Merge-SPLogFile : Microsoft SharePoint is not supported with version 4.0.30319.34209 of the Microsoft .Net Runtime. At line:1 char:1 + Merge-SPLogFile -Path F:\SPLogs + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (Microsoft.Share...letMergeLogFile: SPCmdletMergeLogFile) [Merge-SPLogFile], PlatformNotSupportedException + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletMergeLog File
PS C:\Users\Administrator> Merge-SPLogFile
cmdlet Merge-SPLogFile at command pipeline position 1 Supply values for the following parameters: Path: F:\SPLogs Merge-SPLogFile : Microsoft SharePoint is not supported with version 4.0.30319.34209 of the Microsoft .Net Runtime. At line:1 char:1 + Merge-SPLogFile + ~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (Microsoft.Share...letMergeLogFile: SPCmdletMergeLogFile) [Merge-SPLogFile], PlatformNotSupportedException + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletMergeLog File
PS C:\Users\Administrator>
Do i need to update .Net Runtime on this machine?