0

我在 Azure 中有一个 http 触发函数。在该函数中,我添加了 Azure Blob 存储绑定以读取数据。现在我正在努力使用powershell读取函数中的excel文件。互联网上有很多示例,但使用不同的编程语言。有人可以帮助使用powershell吗?

4

1 回答 1

0

可以在 Azure 函数中使用 Open XML SDK (.net) 来读取 Blob 存储中存在的 .xlsx 文件。

下面的文章有在 Azure blob 触发函数中使用 Open xml sdk 的实现。

在 Azure Blob 存储上读取 Excel 文件的文件内容: https ://social.msdn.microsoft.com/Forums/en-US/1b4768e5-ff6b-4b28-8223-c7380353c0c1/read-file-content-of-excel-file -on-azure-blob 存储

将 Open XML 与 Powershell 一起使用: https ://community.spiceworks.com/topic/2302788-using-openxml-with-powershell

于 2022-02-25T17:58:50.247 回答