Add Yes/No (Check Box) Field to SharePoint List using PowerShell

Requirement: Add Yes/No (Check box) field to SharePoint List. How to Create a Yes/No Check box column in SharePoint List? Follow these steps to add a Yes/No field to a SharePoint List: SharePoint PowerShell to Create Yes/No Field in List or Library: Use this PowerShell script to add the Yes/No column to…

Read more

Find and Replace User ID in SharePoint InfoPath Forms using PowerShell

Requirement: Replace User IDs in InfoPath Forms. A little background: A particular user’s User account changed in the Active directory, and in SharePoint, we ran the Move-SPUser cmdlet to accommodate the user’s SAM account name change. However, many InfoPath form libraries have numerous InfoPath forms with an old user ID. Of course,…

Read more

Get All List and Libraries Inventory of a SharePoint Site Collection using PowerShell

Requirement: Get All Lists and Libraries Inventory of a SharePoint Site Collection. PowerShell to Get Site Collection List and Library Inventory: If you’ve ever needed to get a comprehensive inventory of all the lists and libraries in a SharePoint site, PowerShell is the way to go! In this blog post, we will…

Read more

SharePoint Online: Download All Files from a Document Library using PowerShell

Requirement: PowerShell to download all files from a SharePoint Online document library. How to Download a Document Library in SharePoint Online? If you need to download a document library in SharePoint Online, there are a few different ways to go about it. In this blog post, I’ll show you how to download…

Read more

SharePoint Online: Get Content Type Inventory Report using PowerShell

Requirement: SharePoint Online PowerShell to get content types report. SharePoint Online: Get Content Types using PowerShell Keeping track of all content types used in your SharePoint Online environment can be daunting. PowerShell can help you manage and keep track of your SharePoint Online content types by providing an inventory of all types….

Read more

SharePoint Online: Create a List Item based on a Specific Content Type

Requirement: Add list item with specific content type in SharePoint Online. How to Add a New List Item of a specific content type in SharePoint Online? Say we have a customized content type, “Business Contacts” for the contacts list and want to add a new item of the given content type. To…

Read more

How to Use Choice Field in Lookup Columns in SharePoint?

Problem: Could not create lookup columns on the Choice field in SharePoint list! Solution: Not all column types are supported in the lookup column. Supported column types are: Using choice fields as the data source for lookup columns in SharePoint is also possible! So, what’s the trick? Well, in the parent lookup…

Read more

SharePoint Online: Update Choices in the Choice Field using PowerShell

Requirement: Update choice field choices in SharePoint Online using PowerShell. SharePoint Online: PowerShell to Update Choice Field As an administrator, you may need to update the choice field in the SharePoint Online list. Updating the choice field’s options can be done through the web browser user interface, but if you want to…

Read more

SharePoint Online: Create a Document Library or List with Modern Experience UI using PowerShell

The new list and library experience in SharePoint Online improve the user experience by providing many features such as navigation, fast response, mobile UI, easier to use, etc. You can switch between classic & new experiences anytime. Here is the PowerShell-CSOM script to create a document library in SharePoint Online with a…

Read more