{"id":20932329,"url":"https://github.com/karamem0/sp-client-core","last_synced_at":"2026-01-29T04:14:42.008Z","repository":{"id":62931164,"uuid":"401631399","full_name":"karamem0/sp-client-core","owner":"karamem0","description":"SharePoint Service Module for PowerShell","archived":false,"fork":false,"pushed_at":"2025-12-26T08:42:23.000Z","size":8682,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-27T20:32:32.547Z","etag":null,"topics":["m365dev","powershell","powershell-module","sharepoint-online"],"latest_commit_sha":null,"homepage":"https://www.powershellgallery.com/packages/SPClientCore","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/karamem0.png","metadata":{"files":{"readme":"README.ja-jp.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-08-31T08:38:26.000Z","updated_at":"2025-12-26T08:42:15.000Z","dependencies_parsed_at":"2023-11-14T04:21:23.531Z","dependency_job_id":"0c088e51-e1d5-4b64-b997-5b8536cf4b3a","html_url":"https://github.com/karamem0/sp-client-core","commit_stats":null,"previous_names":[],"tags_count":82,"template":false,"template_full_name":null,"purl":"pkg:github/karamem0/sp-client-core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karamem0%2Fsp-client-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karamem0%2Fsp-client-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karamem0%2Fsp-client-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karamem0%2Fsp-client-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karamem0","download_url":"https://codeload.github.com/karamem0/sp-client-core/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karamem0%2Fsp-client-core/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28862142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"online","status_checked_at":"2026-01-29T02:00:06.714Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["m365dev","powershell","powershell-module","sharepoint-online"],"created_at":"2024-11-18T21:48:03.611Z","updated_at":"2026-01-29T04:14:42.003Z","avatar_url":"https://github.com/karamem0.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SPClientCore\n\n[View in English](README.md)\n\nPowerShell 向けの SharePoint サービス モジュール\n\n[![.github/workflows/trigger-on-main.yml](https://github.com/karamem0/sp-client-core/actions/workflows/trigger-on-main.yml/badge.svg)](https://github.com/karamem0/sp-client-core/actions/workflows/trigger-on-main.yml)\n[![codecov](https://codecov.io/gh/karamem0/sp-client-core/graph/badge.svg?token=5TVZOV14LW)](https://codecov.io/gh/karamem0/sp-client-core)\n[![License](https://img.shields.io/github/license/karamem0/sp-client-core.svg)](https://github.com/karamem0/sp-client-core/blob/main/LICENSE)\n\n## インストール\n\nSPClientCore は [PowerShell Gallery](https://www.powershellgallery.com/packages/SPClientCore) に公開されています。\n\n## 機能\n\n### PowerShell 7 での動作\n\nはい、SPClientCore は最新バージョンの PowerShell 7 で動作しします。つまり、このモジュールを Windows はもちろん Mac や Linux でも使用できるということです (もちろんそのマシンに PowerShell 7 がインストールされていればですが)。\u003cdel\u003eWindows 以外の環境で SharePoint Online を管理するには REST API を実行する方法しかありませんでした。\u003c/del\u003eしかし REST API は SharePoint クライアント ライブラリ (CSOM) に比べていくつかの問題を持っています。SPClientCore は SharePoint クライアント ライブラリと互換性のある API 呼び出しを行うことで完全な機能を提供します。\n\n*(更新) CSOM および PnP PowerShell は PowerShell 7 をサポートしました。*\n\n### 1 つのモジュールですべての管理を\n\nSPClientCore はサイト管理者機能とテナント管理機能の両方の要素を含んでいます。一般のサイト (`https://tenant.sharepoint.com` およびその配下の URL) に接続すればサイト管理のためのコマンドレットを実行することができ、SharePoint 管理センター (`https://tenant-admin.sharepoint.com`) に接続すればテナント管理のためのコマンドレットを実行することができます。現在 SharePoint 管理センターに接続しているかどうかを確認することもできます。\n\n### フレンドリーな名前付け\n\nCSOM の名前付けは非プログラマーにとって難解です。例えば、サイトは \"Site\" ではありません (正しくは \"Web\" です) し、列は \"Column\" ではありません (正しくは \"Field\" です)。SPClientCoreはユーザーが使用する名前と一致するように名前付けを調整しています。\n\n### 先端認証の使用\n\nSPClientCore は Microsoft Entra ID 2.0 認証をサポートします。\n\n- デバイス コード認証\n- クライアント クレデンシャル認証\n- \u003cs\u003eパスワード認証\u003c/s\u003e (廃止)\n\nもしあなたが MFA を有効にしていても異なるデバイスの Web ブラウザーでログインすることができます。MFA を有効にしていないアカウントであれば、ユーザー名とパスワードを使ってログインできます (組織の承認が必要です)。資格情報はキャッシュされるので何度もログインする必要はありません。\n\n## 依存関係\n\n- [Microsoft.ApplicationInsights](https://www.nuget.org/packages/Microsoft.ApplicationInsights/2.22.0) (2.22.0)\n- [Microsoft.Extensions.Configuration.Json](https://www.nuget.org/packages/Microsoft.Extensions.Configuration.Json/9.0.11) (9.0.11)\n- [Microsoft.Extensions.Configuration.EnvironmentVariables](https://www.nuget.org/packages/Microsoft.Extensions.Configuration.EnvironmentVariables/9.0.11) (9.0.11)\n- [Microsoft.Extensions.DependencyInjection](https://www.nuget.org/packages/Microsoft.Extensions.DependencyInjection/9.0.11) (9.0.11)\n- [Microsoft.Extensions.DependencyInjection.Abstractions](https://www.nuget.org/packages/Microsoft.Extensions.DependencyInjection.Abstractions/9.0.11) (9.0.11)\n- [Microsoft.Extensions.Options.ConfigurationExtensions](https://www.nuget.org/packages/Microsoft.Extensions.Options.ConfigurationExtensions/9.0.11) (9.0.11)\n- [Microsoft.IdentityModel.JsonWebTokens](https://www.nuget.org/packages/Microsoft.IdentityModel.JsonWebTokens/8.15.0) (8.15.0)\n- [Newtonsoft.Json](https://www.nuget.org/packages/Newtonsoft.Json/13.0.4) (13.0.4)\n- [PowerShellStandard.Library](https://www.nuget.org/packages/PowerShellStandard.Library/5.1.1) (5.1.1)\n- [System.Memory.Data](https://www.nuget.org/packages/System.Memory.Data/9.0.11) (9.0.11)\n\n## コマンドレット\n\n- ログイン\n  - Connect-KshSite\n  - Disconnect-KshSite\n  - Get-KshCurrentConnection\n  - Get-KshCurrentSite\n  - Get-KshCurrentSiteCollection\n  - Get-KshCurrentUser\n  - Get-KshCurrentUserProfile\n  - Get-KshCurrentUserProperty\n  - Select-KshSite\n  - Test-KshTenantSiteCollection\n- サイト管理\n  - 通知\n    - Add-KshAlert\n    - Get-KshAlert\n    - Remove-KshAlert\n    - Set-KshAlert\n  - アプリ カタログ\n    - Add-KshSiteCollectionAppCatalog\n    - Get-KshSiteCollectionAppCatalog\n    - Get-KshTenantAppCatalog\n    - Remove-KshSiteCollectionAppCatalog\n  - アプリ インスタンス\n    - Get-KshAppInstance\n  - アプリ\n    - Add-KshApp\n    - Get-KshApp\n    - Remove-KshApp\n    - Set-KshAppInstalled\n    - Set-KshAppPublished\n    - Update-KshApp\n  - 添付ファイル\n    - Get-KshAttachmentFile\n    - Open-KshAttachmentFile\n    - Remove-KshAttachmentFile\n    - Save-KshAttachmentFile\n  - 変更\n    - Get-KshChange\n  - クライアント コンポーネントのプロパティ\n    - Add-KshStorageEntity\n    - Get-KshStorageEntity\n    - Remove-KshStorageEntity\n  - 列\n    - Add-KshColumnBoolean\n    - Add-KshColumnCalculated\n    - Add-KshColumnChoice\n    - Add-KshColumnCurrency\n    - Add-KshColumnDateTime\n    - Add-KshColumnGeolocation\n    - Add-KshColumnGuid\n    - Add-KshColumnImage\n    - Add-KshColumnLocation\n    - Add-KshColumnLookup\n    - Add-KshColumnMultiChoice\n    - Add-KshColumnMultiLineText\n    - Add-KshColumnNumber\n    - Add-KshColumnTaxonomy\n    - Add-KshColumnText\n    - Add-KshColumnUrl\n    - Add-KshColumnUser\n    - Get-KshColumn\n    - Remove-KshColumn\n    - Set-KshColumnBoolean\n    - Set-KshColumnCalculated\n    - Set-KshColumnChoice\n    - Set-KshColumnCurrency\n    - Set-KshColumnDateTime\n    - Set-KshColumnGeolocation\n    - Set-KshColumnGuid\n    - Set-KshColumnImage\n    - Set-KshColumnLocation\n    - Set-KshColumnLookup\n    - Set-KshColumnMultiChoice\n    - Set-KshColumnMultiLineText\n    - Set-KshColumnNumber\n    - Set-KshColumnTaxonomy\n    - Set-KshColumnText\n    - Set-KshColumnUrl\n    - Set-KshColumnUser\n  - コメント\n    - Add-KshComment\n    - Get-KshComment\n    - Remove-KshComment\n    - Set-KshCommentEnabled\n  - コンテンツの承認\n    - Set-KshApprovalStatus\n  - コンテンツ タイプ\n    - Add-KshContentType\n    - Add-KshContentTypeColumn\n    - Get-KshContentType\n    - Get-KshContentTypeColumn\n    - New-KshContentTypeId\n    - Remove-KshContentType\n    - Remove-KshContentTypeColumn\n    - Set-KshContentType\n    - Set-KshContentTypeColumn\n    - Set-KshContentTypeColumnOrder\n  - ドキュメント ライブラリ\n    - Get-KshDocumentLibrary\n  - ドキュメント セット テンプレート\n    - Add-KshDocumentSetAllowedContentType\n    - Add-KshDocumentSetDefaultDocument\n    - Add-KshDocumentSetSharedColumn\n    - Add-KshDocumentSetWelcomePageColumn\n    - Get-KshDocumentSetAllowedContentType\n    - Get-KshDocumentSetDefaultDocument\n    - Get-KshDocumentSetSharedColumn\n    - Get-KshDocumentSetWelcomePageColumn\n    - Remove-KshDocumentSetAllowedContentType\n    - Remove-KshDocumentSetDefaultDocument\n    - Remove-KshDocumentSetSharedColumn\n    - Remove-KshDocumentSetWelcomePageColumn\n  - ドキュメント セット\n    - Add-KshDocumentSet\n  - ドキュメント\n    - Add-KshDocument\n  - ドライブ アイテム\n    - Get-KshDriveItem\n    - Get-KshSubDriveItem\n  - ドライブ\n    - Get-KshDrive\n  - 外部共有\n    - Get-KshSharingInfo\n    - Get-KshSharingSettings\n    - Test-KshExternalUserSharing\n  - ファイル\n    - Add-KshFile\n    - Copy-KshFile\n    - Get-KshFile\n    - Move-KshFile\n    - Open-KshFile\n    - Remove-KshFile\n    - Save-KshFile\n    - Set-KshFileCheckOutStatus\n    - Set-KshFilePublished\n  - ファイル バージョン\n    - Get-KshFileVersion\n    - Remove-KshFileVersion\n    - Restore-KshFileVersion\n  - フォルダー\n    - Add-KshFolder\n    - Add-KshFolderColoring\n    - Copy-KshFolder\n    - Get-KshFolder\n    - Get-KshSubFolder\n    - Move-KshFolder\n    - Remove-KshFolder\n    - Set-KshFolder\n    - Set-KshFolderColoring\n  - グループ\n    - Add-KshGroup\n    - Add-KshGroupMember\n    - Get-KshGroup\n    - Get-KshGroupMember\n    - Get-KshGroupOwner\n    - Remove-KshGroup\n    - Remove-KshGroupMember\n    - Set-KshGroup\n    - Set-KshGroupOwner\n  - 強調表示\n    - Add-KshHighlight\n    - Remove-KshHighlight\n  - 画像\n    - Save-KshImage\n  - いいね\n    - Get-KshLike\n    - Set-KshLike\n  - リスト\n    - Add-KshList\n    - Get-KshList\n    - Remove-KshList\n    - Set-KshList\n  - リスト アイテム\n    - Add-KshListItem\n    - Get-KshListItem\n    - New-KshColumnGeolocationValue\n    - New-KshColumnImageValue\n    - New-KshColumnLookupValue\n    - New-KshColumnTaxonomyValue\n    - New-KshColumnUrlValue\n    - New-KshColumnUserValue\n    - Remove-KshListItem\n    - Set-KshColumnTaxonomyValue\n    - Set-KshListItem\n  - リスト テンプレート\n    - Get-KshListTemplate\n  - ナビゲーション\n    - Add-KshNavigationNode\n    - Get-KshNavigation\n    - Get-KshNavigationNode\n    - Remove-KshNavigationNode\n    - Set-KshNavigation\n    - Set-KshNavigationNode\n  - プロパティ\n    - Get-KshProperty\n  - ごみ箱\n    - Get-KshRecycleBinItem\n    - Move-KshRecycleBinItem\n    - Remove-KshRecycleBinItem\n    - Restore-KshRecycleBinItem\n  - 地域と言語の設定\n    - ConvertTo-KshLocalTime\n    - ConvertTo-KshUniversalTime\n    - Get-KshRegionalSettings\n    - Set-KshRegionalSettings\n    - Set-KshMultilingualEnabled\n    - Add-KshSupportedUILanguage\n    - Remove-KshSupportedUILanguage\n  - アクセス許可\n    - Add-KshRoleAssignment\n    - Get-KshRoleAssignment\n    - Remove-KshRoleAssignment\n    - Set-KshUniqueRoleAssignmentEnabled\n  - アクセス許可レベル\n    - Add-KshRoleDefinition\n    - Get-KshRoleDefinition\n    - New-KshBasePermission\n    - Remove-KshRoleDefinition\n    - Set-KshRoleDefinition\n  - 共有リンク\n    - Add-KshAnonymousLink\n    - Add-KshOrganizationSharingLink\n    - Remove-KshAnonymousLink\n    - Remove-KshOrganizationSharingLink\n    - Test-KshSharingLink\n  - サイト\n    - Add-KshSite\n    - Get-KshSite\n    - Remove-KshSite\n    - Set-KshSite\n  - サイト コレクションの機能\n    - Add-KshSiteCollectionFeature\n    - Get-KshSiteCollectionFeature\n    - Remove-KshSiteCollectionFeature\n  - サイトの機能\n    - Add-KshSiteFeature\n    - Get-KshSiteFeature\n    - Remove-KshSiteFeature\n  - サイト ページ\n    - Add-KshSitePage\n    - Remove-KshSitePage\n    - Set-KshSitePage\n  - サイト テンプレート\n    - Get-KshSiteTemplate\n  - ユーザー\n    - Add-KshExternalUser\n    - Add-KshUser\n    - Get-KshUser\n    - Remove-KshUser\n    - Resolve-KshUser\n    - Set-KshUser\n  - ユーザーの権限\n    - Get-KshUserPermission\n  - ユーザー プロパティ\n    - Get-KshUserProperty\n  - ビュー\n    - Add-KshView\n    - Add-KshViewColumn\n    - Get-KshView\n    - Get-KshViewColumn\n    - Move-KshViewColumn\n    - Remove-KshView\n    - Remove-KshViewColumn\n    - Set-KshView\n    - Copy-KshView\n  - Webhooks\n    - Add-KshSubscription\n    - Get-KshSubscription\n    - Remove-KshSubscription\n    - Set-KshSubscription\n- テナント管理\n  - 削除されたサイト コレクション\n    - Get-KshTenantDeletedPersonalSiteCollection\n    - Get-KshTenantDeletedSiteCollection\n    - Remove-KshTenantDeletedSiteCollection\n    - Restore-KshTenantDeletedSiteCollection\n  - ファイル バージョン ポリシー\n    - Get-KshTenantFileVersionPolicyForDocumentLibrary\n    - Set-KshTenantFileVersionPolicy\n    - Set-KshTenantFileVersionPolicyForDocumentLibrary\n  - ホーム サイト\n    - Get-KshTenantHomeSite\n    - Remove-KshTenantHomeSite\n    - Set-KshTenantHomeSite\n  - ハブ サイト\n    - Add-KshTenantHubSite\n    - Get-KshTenantHubSite\n    - Remove-KshTenantHubSite\n    - Set-KshTenantHubSite\n  - リスト デザイン\n    - Add-KshTenantListDesign\n    - Get-KshTenantListDesign\n    - Remove-KshTenantListDesign\n  - Office 365 CDN\n    - Add-KshTenantCdnOrigin\n    - Get-KshTenantCdnEnabled\n    - Get-KshTenantCdnOrigin\n    - Get-KshTenantCdnPolicy\n    - Remove-KshTenantCdnOrigin\n    - Set-KshTenantCdnEnabled\n    - Set-KshTenantCdnPolicy\n  - 組織のニュース サイト\n    - Add-KshTenantOrganizationNewsSite\n    - Get-KshTenantOrganizationNewsSite\n    - Remove-KshTenantOrganizationNewsSite\n  - 個人用サイト\n    - Get-KshTenantPersonalSite\n  - ルート サイト\n    - Get-KshTenantRootSite\n  - サイト コレクション\n    - Add-KshTenantSiteCollection\n    - Get-KshSiteCollection\n    - Get-KshTenantSiteCollection\n    - Lock-KshTenantSiteCollection\n    - Remove-KshTenantSiteCollection\n    - Set-KshTenantSiteCollection\n    - Set-KshTenantSiteCollectionLockStatus\n    - Unlock-KshTenantSiteCollection\n  - サイト デザイン\n    - Add-KshTenantSiteDesign\n    - Get-KshTenantSiteDesign\n    - Remove-KshTenantSiteDesign\n    - Set-KshTenantSiteDesign\n  - サイト スクリプト\n    - Add-KshTenantSiteScript\n    - Get-KshTenantSiteScript\n    - Get-KshTenantSiteScriptFromList\n    - Get-KshTenantSiteScriptFromSite\n    - Remove-KshTenantSiteScript\n  - サイト テンプレート\n    - Get-KshTenantSiteTemplate\n  - テナント\n    - Get-KshTenant\n    - Set-KshTenant\n  - テーマ\n    - Add-KshTenantTheme\n    - Get-KshTenantTheme\n    - Remove-KshTenantTheme\n    - Set-KshTenantTheme\n  - ユーザー\n    - Add-KshTenantUser\n    - Get-KshTenantExternalUser\n    - Get-KshTenantUser\n    - Remove-KshTenantExternalUser\n    - Remove-KshTenantUser\n    - Set-KshTenantUser\n- 管理されたメタデータ\n  - カスタム プロパティ\n    - Add-KshTermCustomProperty\n    - Add-KshTermLocalCustomProperty\n    - Remove-KshTermCustomProperty\n    - Remove-KshTermLocalCustomProperty\n  - 用語グループ\n    - Add-KshTermGroup\n    - Get-KshTermGroup\n    - Remove-KshTermGroup\n    - Set-KshTermGroup\n  - 用語ラベル\n    - Add-KshTermLabel\n    - Get-KshTermLabel\n    - Remove-KshTermLabel\n    - Set-KshTermLabel\n  - 用語セット\n    - Add-KshTermSet\n    - Get-KshTermSet\n    - Remove-KshTermSet\n    - Set-KshTermSet\n  - 用語ストア\n    - Add-KshTermStoreLanguage\n    - Get-KshTermStore\n    - Remove-KshTermStoreLanguage\n    - Set-KshTermStore\n  - 用語\n    - Add-KshTerm\n    - Copy-KshTerm\n    - Get-KshTerm\n    - Get-KshTermDescription\n    - Merge-KshTerm\n    - Move-KshTerm\n    - Remove-KshTerm\n    - Set-KshTerm\n    - Set-KshTermDescription\n    - Set-KshTermDeprecated\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaramem0%2Fsp-client-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaramem0%2Fsp-client-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaramem0%2Fsp-client-core/lists"}