Sharepoint 2013 powershell脚本,用于服务应用程序,以便每天监控电子邮件 [英] Sharepoint 2013 powershell script for service applications to monitor daily basis on email
问题描述
有人可以帮助解决Powershell脚本。
我需要每天监控所有服务应用程序。
请为
1建议脚本。计时器作业的状态
2. SharePoint管理服务
3.任何错误事件查看器中的搜索或SharePoint
谢谢
SaidiReddy
您好
您可以使用webrequest获取特定的sharepoint中央管理页面以获取#1和#2的数据。
对于事件查看器,您可以参考此信息。
https://stackoverflow.com/questions/3147972/read-event-log-in- c-sharp
或powershell
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-eventlog?view = powershell-5.1
使用PowerShell获取计时器作业:
https:// blogs。 msdn.microsoft.com/spucelik/2017/01/12/list-all-the-timer-jobs-using-powershell/
使用PowerShell获取SP服务:
Hi,
Can someone please help on Powershell script.
I need to monitor all service applications on daily basis.
Please suggest the script for
1. status for Timer Jobs
2. SharePoint Admin services
3. any errors Search or SharePoint in Event viewer
Thanks
SaidiReddy
Hi
You can use webrequest to get the specific sharepoint central admin page to get data for #1 and #2.
For event viewer, you can refer this.
https://stackoverflow.com/questions/3147972/read-event-log-in-c-sharp
or powershell
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-eventlog?view=powershell-5.1
Using PowerShell to get timer job:
https://blogs.msdn.microsoft.com/spucelik/2017/01/12/list-all-the-timer-jobs-using-powershell/
Using PowerShell to get SP Serivces:
http://nikcharlebois.com/list-all-services-in-a-sharepoint-farm/
这篇关于Sharepoint 2013 powershell脚本,用于服务应用程序,以便每天监控电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!