SharePoint Online: Create Managed Metadata Site Column using PowerShell

June 22, 2018    , , ,
Requirement: Create Managed Metadata Site Column in SharePoint Online using PowerShell How to Create a Managed Metadata Site Column in SharePoint Online? Managed Metadata column in SharePoint Online uses Term Set from the term store as the source for its allowed values. Term set defines set of…

SharePoint Online: Delete Permission Level using Powershell

June 18, 2018    , , , ,
Requirement: SharePoint Online Remove permission level using PowerShell Warning: Never delete any OOTB default permission levels in SharePoint! How to Delete Existing Permission Levels in SharePoint Online? To delete an existing permission level, in SharePoint Online, follow these steps: …

SharePoint Online: How to Approve Multiple Documents using PowerShell?

June 17, 2018    , ,
Requirement: Approve Multiple Documents in SharePoint Online using PowerShell How to Approve Multiple Items in SharePoint Online? When content approval is turned ON, each item must be approved in order to be visible to users. You can approve any item or document in SharePoint Online by: Right…

SharePoint Online: Download All Versions of a Document using PowerShell

June 17, 2018    , , , ,
Requirement: Download All Versions of a Document in SharePoint Online using PowerShell SharePoint Online: PowerShell to Download All Versions of a Document Version history in SharePoint Online lets you to store, track, and restore files in a library as they are changed. There are times you m…

PowerShell to Update Permissions for Custom Permission Level in SharePoint

June 16, 2018    , , ,
Requirement: Update permission level in SharePoint using PowerShell How to Edit a Permission level in SharePoint? To edit an existing permission level in SharePoint, follow these steps: Permission levels are scoped at site collection. So, Navigate to SharePoint Site collection where yo…

How to Create App Catalog Site in SharePoint Online?

June 15, 2018    , , , , ,
What is App Catalog in SharePoint Online? App Catalog in SharePoint is a central location where we can manage custom-developed apps or 3rd party apps and make them available for users to download across all site collections. These apps are listed under the "From Your Organization" link…

SharePoint Online: Bulk Update All Items in Large List using PowerShell

June 14, 2018    , , , ,
Requirement: Bulk Update SharePoint Online List Items using PowerShell. How to Update a Large Number of List Items in Bulk using PowerShell? While lists < 5000 items can be updated using the approach in my other post, Update SharePoint Online List using PowerShell , How about updating la…

SharePoint Online: Delete List Items Created in the Past 7 Days using PowerShell

June 12, 2018    , , ,
Requirement: Delete All List Items created within the past 7 days in SharePoint Online List. PowerShell to Delete SharePoint Online List Items based on Created Date #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\1…

SharePoint Online: Fix "The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested" Error in PowerShell

June 11, 2018    , , ,
Error: The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested. Root cause: You must load the object before you are trying to retrieve its properties! Solution: Here is how the problem can be resolved …

SharePoint Online: Bulk Import Users to Groups from a CSV File using PowerShell

June 11, 2018    , , , , ,
Requirement: Bulk add users from a CSV file to SharePoint Online Groups Here is the CSV file with users and groups data to bulk add users to groups: SharePoint Online: Bulk Add Users to Group using PowerShell  SharePoint Online groups help to manage security effectively by combining user a…

SharePoint Online: How to Get Direct Link to a Document In Modern Libraries?

June 11, 2018    , , ,
Requirement: Get direct link to document in SharePoint Online. SharePoint Online: Get Direct Link to Document  Unlike SharePoint Online classic experience, modern document libraries doesn't provide direct link to documents. However, here is the trick to get direct link to file: Navigate …

SharePoint Online: Get Document Library Size using PowerShell

June 10, 2018    , , , , , ,
Requirement: Get the Size of a SharePoint Online Document Library PowerShell to Get List or Document Library Size in SharePoint Online: #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Cl…

SharePoint Online: Publish All Files in a Library using PowerShell

June 08, 2018    , , ,
Requirement: Bulk Publish Multiple Files in SharePoint Online PowerShell to Check-in, Approve and Publish All Files in a Library: When you turn ON minor versioning in SharePoint Online document library, any edits will not appear to users with read-only (or view only) permissions until you pu…

Powered by Blogger.