SharePoint Service Module for PowerShell
SPClientCore is published to PowerShell Gallery.
Yes, SPClientCore works with PowerShell 7, also it works with Windows PowerShell. It means that you can use this module on Mac and Linux as well as Windows (of course if PowerShell 7 is installed on the machine). There was only a way to run the SharePoint REST API to manage SharePoint Online in non-Windows environments. But SharePoint REST API has a few problems compared to the SharePoint Client Library (CSOM). SPClientCore provides full functionality by making compatible API calls with CSOM.
(UPDATE) CSOM and PnP PowerShell now supports PowerShell 7.
SPClientCore includes both elements that site admin features and tenant admin features. You can run cmdlets for site admin by connecting to a site (https://tenant.sharepoint.com and its sub URLs), and you can run tenant admin cmdlets for connecting to the SharePoint admin center (https://tenant-admin.sharepoint.com). You can also determine whether you are currently connected to the SharePoint admin center.
CSOM naming is difficult for non-programmers. For example, A site is not "Site" (that is "Web"), A column is not "Column" (that is "Field"). SPClientCore adjusts the naming so that it matches the name used by the user.
SPClientCore supports Azure AD 2.0 authentication (Device Code Grant and Password Grant). If you enable MFA, you can log in with a web browser of another device. If you do not enable MFA, you can log in using your user name and password (admin consent is required).
- Microsoft.ApplicationInsights (2.21.0)
- Microsoft.Extensions.Configuration.Json (8.0.0)
- Microsoft.Extensions.Configuration.EnvironmentVariables (8.0.0)
- Microsoft.Extensions.DependencyInjection (8.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (8.0.1)
- Microsoft.Extensions.Options.ConfigurationExtensions (8.0.0)
- Microsoft.IdentityModel.JsonWebTokens (8.1.0)
- Newtonsoft.Json (13.0.3)
- PowerShellStandard.Library (5.1.1)
- Login
- Site Administration
- Alerts
- App Instances
- Attachment Files
- Changes
- Client Components Properties
- Columns
- Get-KshColumn
- Add-KshColumnBoolean
- Add-KshColumnCalculated
- Add-KshColumnChoice
- Add-KshColumnCurrency
- Add-KshColumnDateTime
- Add-KshColumnGeolocation
- Add-KshColumnImage
- Add-KshColumnLookup
- Add-KshColumnMultiChoice
- Add-KshColumnMultiLineText
- Add-KshColumnNumber
- Add-KshColumnTaxonomy
- Add-KshColumnText
- Add-KshColumnUrl
- Add-KshColumnUser
- Remove-KshColumn
- Set-KshColumnBoolean
- Set-KshColumnCalculated
- Set-KshColumnChoice
- Set-KshColumnCurrency
- Set-KshColumnDateTime
- Set-KshColumnGeolocation
- Set-KshColumnImage
- Set-KshColumnLookup
- Set-KshColumnMultiChoice
- Set-KshColumnMultiLineText
- Set-KshColumnNumber
- Set-KshColumnTaxonomy
- Set-KshColumnText
- Set-KshColumnUrl
- Set-KshColumnUser
- Comments
- Content Types
- Document Libraries
- Document Sets
- Document Set Templates
- Get-KshDocumentSetAllowedContentType
- Add-KshDocumentSetAllowedContentType
- Remove-KshDocumentSetAllowedContentType
- Add-KshDocumentSetDefaultDocument
- Get-KshDocumentSetDefaultDocument
- Remove-KshDocumentSetDefaultDocument
- Get-KshDocumentSetSharedColumn
- Add-KshDocumentSetSharedColumn
- Remove-KshDocumentSetSharedColumn
- Add-KshDocumentSetWelcomePageColumn
- Get-KshDocumentSetWelcomePageColumn
- Remove-KshDocumentSetWelcomePageColumn
- Drives
- Drive Items
- External Sharing
- Files
- File Versions
- Folders
- Groups
- Images
- Likes
- Lists
- List Items
- Get-KshListItem
- Add-KshListItem
- Remove-KshListItem
- Set-KshListItem
- Approve-KshListItem
- Deny-KshListItem
- Suspend-KshListItem
- New-KshColumnGeolocationValue
- New-KshColumnImageValue
- New-KshColumnLookupValue
- New-KshColumnTaxonomyValue
- New-KshColumnUrlValue
- New-KshColumnUserValue
- Set-KshColumnTaxonomyValue
- List Templates
- Navigation
- Properties
- Recycle Bin Items
- Regional Settings
- Role Assignments
- Role Definitions
- Sharing Links
- Sites
- Site Collection Apps
- Site Collection App Catalogs
- Site Collection Features
- Site Features
- Site Pages
- Site Templates
- Tenant Apps
- Tenant App Catalog
- Users
- User Permissions
- User Properties
- Views
- Webhooks
- Tenant Administration
- Deleted Site Collections
- Home Site
- Hub Sites
- List Designs
- Office 365 CDN
- Organization News Sites
- Personal Sites
- Site Collections
- Site Scripts
- Site Templates
- Tenant
- Themes
- Users
- Managed Metadata
- Custom Properties
- Terms
- Term Groups
- Term Labels
- Term Sets
- Term Store