Register
: :
Login
Home
News
Forums
Scripts
User Groups
Resources
About
Forums
Search
Members
Unanswered
Active Topics
Forums
>
Using PowerShell
>
SharePoint
Delete all related items in all lists of a site
Last Post 04 Jul 2010 02:40 PM by
iOnline247
. 0 Replies.
Sort:
Oldest First
Most Recent First
Prev
Next
You are not authorized to post a reply.
Author
Messages
iOnline247
New Member
Posts:9
04 Jul 2010 02:40 PM
I'm trying to script something similar to cascading deletes for a particular site. So the effect of this script is to delete every item from every list in the site that has the metadata of my choice. This actually seems to work and does delete the items within the lists that have the column and data I've chosen. What appears to be the problem is my box comes to a crashing halt shortly thereafter, so I'm thinking I've wrote into my script a memory leak of some sort. I'm a bit new to powershell and would love to have an expert look over my script and show me what I've done wrong.
Cheers,
Matt B.
Sharepoint_-_DeleteItems-Hardcoded.ps1
You are not authorized to post a reply.
Using PowerShell
--General PowerShell
--Books, Tools, and Videos
--Exchange Server
--Active Directory
--System Center Family
--Non-Microsoft Products
--SharePoint
--SQL Server
--Working with .NET
--Peer Review
--Testing, Testing...
PowerShell Development
--Cmdlet Development
--PSDrive Provider Development
--Hosting the Shell
Looking Ahead
--Using PowerShell v2.0
--Developing for PowerShell v2.0
PowerShellCommunity.org
--Community Announcements and Assistance
--Completely Unrelated
--User Groups
--Community Business
----Suggestion Box
Forums
>
Using PowerShell
>
SharePoint
Active Forums 4.3
Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2