🔔

SPClientCore 0.1 を公開しました

2022/01/01に公開

PowerShell Core 向けの SharePoint モジュールを作りました。現時点での最新の PowerShell Core 6.0.0-beta.9 に対応しています。

https://github.com/karamem0/sp-client-core

PnP-PowerShell は内部的に SharePoint Client Components SDK を使用しています。SharePoint Client Components SDK は .NET Standard に対応していません。つまり PnP-PowerShell は PowerShell Core では使用できないということになります。そこで、SharePoint Client Components SDK を使用せず、SharePoint REST API を呼び出すようにしています。なお SharePoint REST API のリファレンスが SharePoint 2013 ベースのため、SharePoint 2016 以降で追加されたプロパティには対応していません。ただし動作検証は Online でも行っています。

Discussion