Skip to content

Instantly share code, notes, and snippets.


buettiB/DeleteItems.ps1 Secret

Created May 12, 2017
What would you like to do?
Löscht alle Elemente aus einer SharePoint Liste
Add-PSSnapin Microsoft.SharePoint.PowerShell
(get-spweb http://hamburg/).Lists["Meine Liste"].Items | %{$_.ParentList.GetItemById($_.Id).Delete()}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment