使用REST或POWERSHELL进行自动化以生成归档计划报告 [英] Automatation with REST or POWERSHELL for Generating File Plan Reports

查看:77
本文介绍了使用REST或POWERSHELL进行自动化以生成归档计划报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用SharePoint Online记录管理,并手动生成文件计划报告",一系列图书馆.我们正在寻求自动化该任务.在浏览器中手动执行任务会触发以下页面:

We use SharePoint Online records management and we manually "Generate File Plan Reports" for a series of Libraries.  We are looking to automate that task.  Performing the task manually in the browser triggers the following page:

https://XXX.sharepoint.com/sites/BIM/_layouts/15/customizereport.aspx

https://XXX.sharepoint.com/sites/BIM/_layouts/15/customizereport.aspx

我有使用Powershell的经验,但不确定如何自动执行页面加载,传递有关输出位置的变量并生成报告.

I have experience with powershell but I'm not sure how to go about automating the load of the page, passing a variable about the location of the output and producing the report.

任何人都可以引导我采用一种可行的方法吗?

Can anyone steer me towards a method that would work? 

假设:

  • SharePoint 2013的解决方案也应该适合SharePoint Online.
  • 可以使用许多不同的方法(包括Powershell,REST等)来实现解决方案.
  • 自动执行其他SharePoint aspx页面加载/的示例提交可能是一个很好的起点.

非常感谢

朱利安

推荐答案

不幸的是,对于SharePoint Online,没有API或PowerShell命令可以自动导出文件计划报告.我们仍然需要手动生成报告:

Unfortunately, for SharePoint Online, there is no API or PowerShell commands which can export file plan report automatically. We still need to generate the report manually:

在SharePoint 2013和Office 365中生成文件计划报告

对于内部部署的SharePoint Server,我们可以查询SQL数据或使用PowerShell生成报告:

For SharePoint Server On-Premise, we can query SQL data or use PowerShell to generate the report:

谢谢

最好的问候


这篇关于使用REST或POWERSHELL进行自动化以生成归档计划报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆