0
votes
1answer
47 views

How to get C# to recognize argument passed through PowerShell

I'm using PowerShell to call C# code to turn list alerts on or off on a specific list. When I try to use [AlertsOnOff1.onOff]::Main("off") to call the Main method and pass the arugment of "off"the ...
1
vote
1answer
45 views

Is there a way to temporarily disable existing alert emails from executing?

I have a powershell script the runs automatically once a week to move old list items to an archive list. On the current list my end users are receiving alerts when the item is moved (create/deleted) ...
2
votes
1answer
1k views

PowerShell script in setting up multiple SharePoint Alerts

Another user (Charlie) is requesting to have alerts sent anytime a change is made on the "discussion board", "Batch Report" folder, "Reports" folder, and "Audits" folder within a single client site. ...
0
votes
2answers
588 views

Fixing programmatic alert URLs

Environment: SP2010 Enterprise, SQL2008R2, VS2012, full server access A while ago I created a massive amount of alerts using a c# console app I made in VS. The app ran on the server using SP ...
0
votes
1answer
1k views

Deleting all alerts on a sharepoint list using powershell?

I understand alerts will only be show to those who created them. However I am on a test site and would like to rid the list of all alerts. Is there a way to do this programatically. I can seem to ...
1
vote
1answer
87 views

Can not turn of notifications (SP 2010)

I'm about to update 300 items in a list that I know lots of users are subscribing to (notification by email on every item update event). I've tried turn this off by using STSADM: stsadm -o ...
1
vote
2answers
652 views

turn off alerts on an announcement list

How can I disable email alerts for an announcement list (that is, prevent users from signing up for alerts on this list)? I looked at the list settings in the UI, but did not see a way to do this. I ...
3
votes
5answers
2k views

Access Denied Retrieving Sites (Webs) Using PowerShell

My goal is to retrieve all the alerts for a given domain user, in SP 2007, then delete these alerts. I have referenced the following script on this site. In DEV environment, when I run the script I ...
0
votes
2answers
959 views

How can I delete all alerts for a user in Sharepoint 2007 without visiting every site?

A user leaves the organisation. Their account is removed from active directory. Their user object does not get removed from Sharepoint, and their alerts remain in place. This generates ...