How to create a SharePoint list item with a PowerShell script without installing module(s)

CodeMeUp 0 Reputation points
2025-01-27T22:55:17.97+00:00

Hello!

Has anyone figured out how to create a new SharePoint list item via PowerShell script WITHOUT having to install modules?

I have a simple 4-column SharePoint list & need to add records to it via PowerShell script. Most of the documentation/syntax I've found via googling requires installing modules, but I'd like to believe there's a simpler method for just hopping into a SharePoint list & populating 4 columns.

Any guidance would be most appreciated, thanks in advance!

Microsoft 365 and Office | SharePoint | Development
Windows for business | Windows Server | User experience | PowerShell
0 comments No comments

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Kavya 655 Reputation points
    2025-01-28T08:06:51.0566667+00:00

    To work with PowerShell, you must install SharePoint Online Management module or PnP PowerShell module.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.