SharePoint Service Module for PowerShell Core
SPClientCore is published to PowerShell Gallery.
Yes, SPClientCore works with PowerShell Core, 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 Core 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.
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).
- Login
- Site Administration
- Alerts
- App Instances
- Attachment Files
- Changes
- Client Components Properties
- Columns
- Get-KshColumn
- New-KshColumnBoolean
- New-KshColumnCalculated
- New-KshColumnChoice
- New-KshColumnCurrency
- New-KshColumnDateTime
- New-KshColumnGeolocation
- New-KshColumnLookup
- New-KshColumnMultiChoice
- New-KshColumnMultiLineText
- New-KshColumnNumber
- New-KshColumnTaxonomy
- New-KshColumnText
- New-KshColumnUrl
- New-KshColumnUser
- Remove-KshColumn
- Update-KshColumnBoolean
- Update-KshColumnCalculated
- Update-KshColumnChoice
- Update-KshColumnCurrency
- Update-KshColumnDateTime
- Update-KshColumnGeolocation
- Update-KshColumnLookup
- Update-KshColumnMultiChoice
- Update-KshColumnMultiLineText
- Update-KshColumnNumber
- Update-KshColumnTaxonomy
- Update-KshColumnText
- Update-KshColumnUrl
- Update-KshColumnUser
- Content Types
- Document Libraries
- Document Sets
- Document Set Templates
- Add-KshDocumentSetAllowedContentType
- Add-KshDocumentSetSharedColumn
- Add-KshDocumentSetWelcomePageColumn
- Get-KshDocumentSetAllowedContentType
- Get-KshDocumentSetDefaultDocument
- Get-KshDocumentSetSharedColumn
- Get-KshDocumentSetWelcomePageColumn
- New-KshDocumentSetDefaultDocument
- Remove-KshDocumentSetAllowedContentType
- Remove-KshDocumentSetDefaultDocument
- Remove-KshDocumentSetSharedColumn
- Remove-KshDocumentSetWelcomePageColumn
- Drives
- Files
- File Versions
- Folders
- Groups
- Lists
- List Items
- Approve-KshListItem
- Deny-KshListItem
- Get-KshListItem
- New-KshListItem
- Remove-KshListItem
- Suspend-KshListItem
- Update-KshListItem
- Initialize-KshColumnGeolocationValue
- Initialize-KshColumnLookupValue
- Initialize-KshColumnTaxonomyValue
- Initialize-KshColumnUrlValue
- Initialize-KshColumnUserValue
- Set-KshColumnTaxonomyValue
- List Templates
- Navigation
- 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 Page Comments
- Site Templates
- Tenant Apps
- Tenant Settings
- Users
- User Permissions
- User Properties
- Views
- Webhooks
- Tenant Administration
- Deleted Site Collections
- Home site
- Hub sites
- Logs
- Office 365 CDN
- Site Collections
- Site Templates
- Themes
- Managed Metadata
- Custom Properties
- Terms
- Term Groups
- Term Labels
- Term Sets
- Term Store