OneNotes的自动化任务,使用PowerShell,或者如何使用? [英] Automation tasks for OneNotes, using PowerShell or else, How?

查看:143
本文介绍了OneNotes的自动化任务,使用PowerShell,或者如何使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我需要帮助自动执行OneNotes的这些任务,例如:

I need help on automating these tasks for OneNotes such as:

- 创建,删除,导出:页面,章节等......

- Create, Delete, Export: for Pages, Sections,...etc.

任何帮助&建议表示赞赏。

Any helps & advice are appreciated.

不成功的方法:不知道如何解决以下问题!

Unsuccessful approach: Don't know how to resolve the below issue!

我下载了这个文件:  OneNotePowerShellProvider-master ,重新编译=> Microsoft.Office.OneNote.PowerShell.dll,但我无法注册此OneNote提供程序(使用脚本Enable-OneNote.ps1
或命令行),因为此错误:

I downloaded this file: OneNotePowerShellProvider-master, recompiled=> Microsoft.Office.OneNote.PowerShell.dll, but I cannot register this OneNote provider (using script Enable-OneNote.ps1 or command-line) because this error:

注意:此命令行也失败 - "Add-PSSnapin Microsoft.Office.OneNote.PowerShell .dll"

Notes: this command line also failed - "Add-PSSnapin Microsoft.Office.OneNote.PowerShell.dll"

推荐答案

您必须先安装Visual Studio才能构建提供程序可以加载它。 该链接只是原始的CS源代码和VS项目。 构建它不一定要注册管理单元。

You have to se Visual Studio to build the provider before you can load it.  The link is just the raw CS source code and VS project.  Building it doesnotnecessarily register the snap-in.

也许你应该在GitHub网站上为项目作者发布问题。

Perhaps you should post issues on the GitHub site for the author of the project.


这篇关于OneNotes的自动化任务,使用PowerShell,或者如何使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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