PowerShell – Add an item to a list in SharePoint through REST

Need to add a item to a list in SharePoint with PowerShell?

I have create a small function that allows you to use the REST API in SharePoint to create a list item.

Experienced advanced operations engineer with a demonstrated history of working in the information technology and services industry. Skilled in Windows Server, Azure, Ethical Hacking, Office 365, Exchange, Jenkins, SCCM, Octopus Deploy and PowerShell to name a few. Strong engineering professional with a big passion for knowledge.

2 Comments

  1. Prasanth

    Hi.
    I am using Powershell ver 3.0 and it gives me this error
    Invoke-WebRequest : The ‘Accept’ header must be modified using the appropriate property or method.
    Parameter name: name
    Is there a workaround?

Leave a Reply to Craig Pulliam Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.