SharePoint Online: Set Site Column Properties using PowerShell

April 28, 2018    , , , ,
Requirement: Update Properties of a Site Column in SharePoint Online using PowerShell How to Edit a Site Column in SharePoint Online? You can edit site column properties such as name, group, column type, etc in SharePoint Online by following below steps: Navigate to the SharePoint Online si…

Disable "New Folder" in SharePoint Online Lists and Libraries

April 28, 2018    , , , , , ,
Requirement: Disable Folder Creation in SharePoint Online List or Document Library. How to Prevent Folder Creation in SharePoint Online? SharePoint folders can be created on any list or library in where the "New Folder" option is turned ON. By default, folders are enabled in librari…

Find All OneDrive for Business Site Collections in SharePoint Online using PowerShell

April 23, 2018    , , , , ,
Requirement: Get a list of all OneDrive site collections from SharePoint Online. I was asked to get the list of all OneDrive sites to get the usage of OneDrive for Business in our Office 365 tenant. It's a bit tricky to find all of your OneDrive site collections and here is how I achieved …

How to Delete Office 365 Group using PowerShell?

April 22, 2018    ,
Requirement: Delete Office 365 Group using PowerShell How to Delete an Office 365 Group? As an admin, you can delete office 365 groups through Microsoft 365 admin center. Log in to the Microsoft 365 Admin Center site: https://admin.microsoft.com Expand Groups and Click on Groups in the left…

Find All Office 365 Groups using PowerShell

April 21, 2018    ,
Requirement: Get Office 365 Groups using PowerShell How to Get Office 365 Groups in Admin Center? As an admin, you can get office 365 groups through Microsoft 365 admin center. Login to the Microsoft 365 Admin Center site: https://admin.microsoft.com Expand "Groups" and Click on …

SharePoint Online: How to Disable Quick Launch Bar using PowerShell?

April 19, 2018    , , , ,
Requirement: Hide Quick Launch Bar in SharePoint Online How to Hide Quick Launch in SharePoint Online? The Quick Launch or left navigation located in the left side of the site typically contains links to resources located in the current site like lists and libraries, subsites, etc. To turn off…

SharePoint Online: Clone User Group Memberships using PowerShell

April 19, 2018    , , , ,
Requirement: Clone a user's group permissions to another user in a SharePoint Online Site. PowerShell to Clone User's Group Memberships in SharePoint Online: It's a common real-world scenario that when someone leaves the organization and somebody else takes that role they want t…

How to Copy a Folder in SharePoint Online using PowerShell?

April 18, 2018    , , , ,
Requirement: Copy Folder in SharePoint Online using PowerShell How to a Copy Folder in SharePoint Online? Copying a folder in SharePoint Online modern experience is quite simple. Navigate to your SharePoint Online Document Library >> Select the Folder to Copy From the Toolbar, Click …

SharePoint Online: How to Reindex a List or Document Library using PowerShell?

April 17, 2018    , , , , , ,
Requirement: SharePoint Online Reindex list or document library using PowerShell PowerShell to Reindex List in SharePoint Online  Although Items are fully indexed by Full crawl in SharePoint, Reindex feature in SharePoint helps to recrawl and perform full indexing during the next incrementa…

SharePoint Online: Bulk Delete All List Items using PowerShell

April 16, 2018    , , , ,
Requirement: Bulk Delete SharePoint Online List Items using PowerShell Delete All List Items in SharePoint Online using PowerShell: We've a list in SharePoint online - Office 365 site with bunch of items. Need them to be deleted in bulk rather deleting one by one from SharePoint web UI.…

SharePoint Online: Get All Terms from a Term Set using Powershell

April 15, 2018    , , , ,
Requirement: PowerShell to Get All Terms from a Term Set in SharePoint Online SharePoint Online: Get Terms from a Term Set using PowerShell #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint…

SharePoint Online: Create Publishing Page using PowerShell

April 14, 2018    , , ,
Requirement: Create a Publishing Page in SharePoint Online using PowerShell SharePoint Online: Create Publishing Page using PowerShell CSOM Make sure you have publishing feature enabled, before running this script: #Config Variables $SiteURL = "https://crescenttech.sharepoint.com/sites/Ma…

SharePoint Online: Get Site Collection, Web ID using PowerShell

April 11, 2018    , , , , ,
Requirement: Get the ID of a SharePoint Online site collection or subsite using PowerShell How to get SharePoint Online Site ID? We may need the IDs of SharePoint Online site collection or subsite at times and these IDs are easy to find. Here is how to find the ID of a SharePoint online site …

SharePoint Online: How to Make List Field Read Only using PowerShell?

April 10, 2018    , , , , ,
Requirement: Make a Field Read Only in SharePoint Online List How to Set a List Field to Read Only in SharePoint Online using PowerShell? #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Cl…

SharePoint Online: Set Default Value for List Column using PowerShell

April 10, 2018    , , , , ,
Requirement: SharePoint Online Set Column default value Settings How to Set Column default value Settings in SharePoint Online? To preset a default value for a field in SharePoint Online list, Go to the List Settings >> Under "Columns", Pick the field by clicking on its titl…

SharePoint Online: Disable Attachment in List using PowerShell

April 09, 2018    , , , ,
Requirement: Disable Attachment in SharePoint Online List How to Disable Attachment in SharePoint Online List? A SharePoint Online list can be configured to attach files to the items. By default, attachments option is configured to allow on new lists. If you do not want to let users attach fi…

SharePoint Online: Remove User or Group from List Permissions using PowerShell

April 08, 2018    , , , , , , ,
Requirement: Remove user or group from list permissions in SharePoint Online using PowerShell How to Remove User Permissions from a List in SharePoint Online?  To remove a user or group from SharePoint Online list permissions, follow these steps: Navigate to your SharePoint Online list or l…

Add AD Group to SharePoint Online Group using PowerShell

April 08, 2018    , , , , ,
Requirement: Add AD Group to SharePoint Online Group using PowerShell PowerShell to Add Active Directory Group to SharePoint Online Group #Load SharePoint Online Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoin…

Powered by Blogger.