1.

Enable disable alerts for Web application in sharepoint Powershell

Answer»

To enable alerts for WEB application we use below CODE

$SPwebapp=Get-SPWebApplication "HTTP://SharePointSite.com"

$SPwebapp.AlertsEnabled = $TRUE

$SPwebapp.Update()

# To DISABLE alerts for a Web application

$SPwebapp.AlertsEnabled = $false

$SPwebapp.Update



Discussion

No Comment Found