--- title: "SharePoint Scripting" slug: "sharepoint-scripting" description: "An introduction to Lasernet Core scripting for SharePoint commands." tags: ["JavaScript", "Lasernet Core 11", "Lasernet Developer", "Scripts", "SharePoint"] updated: 2026-04-16T15:48:06Z published: 2026-04-16T15:48:06Z canonical: "kb.lasernetgroup.com/sharepoint-scripting" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.lasernetgroup.com/llms.txt > Use this file to discover all available pages before exploring further. # SharePoint Scripting **Applies to:** Lasernet Core 11 You can execute SharePoint commands directly via scripting in Lasernet Core, just like modifiers. This is done via an array called `sharepointcommands`. In order to retrieve a specific command, use the index operator “[]” and a string with the name of the command as an argument. You can then use the `run` function to invoke the command. ![Example of Lasernet SharePoint scripting.](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/sharepoint-scripting-image-gr0xiivy.png) > [!NOTE] > Note > > You can drag any SharePoint Command item added to the configuration into the editor window. The script command to run SharePoint Commands, including value and parameter, will be automatically inserted.