代码改变世界

随笔档案-2011年8月18日

查看SharePoint错误的PowerShell命令

2011-08-18 15:47 by 程序开发助手, 474 阅读, 收藏,
摘要: 在SharePoint 2010中,经常会遇到如下这个错误:ErrorAn unexpected error has occurred.Troubleshoot issues with Microsoft SharePoint Foundation.Correlation ID: ab4783ca-57dc-4e5c-82da-8d07e17c393fDate and Time: 8/17/2011 1:53:16 PM我们可以用powershell查看错误信息,具体命令如下:Get-SPLogEvent -StartTime (Get-Date).AddMinutes(-5) | Where 阅读全文