Think Dynamic, Do Dynamic Microsoft Dynamic CE | Powerapps || Dynamic CRM || Power Apps || Power Platform

Tuesday, 28 June 2022

Create New Custom List Columns in SharePoint Online using PowerShell ISE

 

Create New Custom List Columns in SharePoint Online using PowerShell ISE

Are you looking for a way to create a list in SharePoint using PowerShell? Look no further! This blog post will show you how to use PowerShell to create a new list in SharePoint. This can be useful if you want to automate the process of creating lists or if you need to create a list with specific settings that are not available on the UI.

PowerShell is a powerful scripting language that can be used to automate many tasks in SharePoint Online. Here, in this case, while it is possible to create lists manually, PowerShell provides a more efficient way to do this in a scripted way for automation.

Here are the steps to make PowerShell ISE work for SharePoint Command lets.

·         Open PowerShell ISE with “Run as Administrator”      


Now, you can start writing your PowerShell script or copy-paste the script and then click on the “Run Script” button from the toolbar. (Shortcut key: F5)



 Here is the PowerShell script to create a new list in SharePoint:



·         Provide credentials of your office365 account.

 


·         This PowerShell script creates a new custom list in SharePoint with the “Title” column.


 If you want to add more columns to the list using PowerShell. Here is the PowerShell script to create a new columns in SharePoint online list:


No comments:

Post a Comment

Popular Posts

Featured post

Understanding Dataverse MCP vs Power Apps MCP – Quick Review

  Understanding Dataverse MCP vs Power Apps MCP – Quick Review Model Context Protocol (MCP) has quickly become one of the hottest topics in ...

Post Top Ad

Your Ad Spot

Pages

SoraTemplates

Best Free and Premium Blogger Templates Provider.

Buy This Template