Create New Custom List Columns in SharePoint Online using PowerShell ISE

Talha Manzoor
0

 

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:


Post a Comment

0Comments

Post a Comment (0)