Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Get all the Alerts for a particular user using powershell
WhatsApp
Vijai Anand Ramalingam
13y
3.2
k
0
0
25
Blog
$site=Get-SPSite "
http://serverName:22222/sites/TestSite/
"
$web=$site.RootWeb
$user=$web.EnsureUser('domainName\userName')
$alertColl=$user.Alerts
foreach($alert in $alertColl)
{
write-host -f Magenta $alert.Title
}
Get all the Alerts for a particular user using powershell
Up Next
Get all user groups for the specified user using SharePoint 2010 web service in powershell
Ebook Download
View all
Configure MinRole Search and Cloud Hybrid Features in SharePoint Server 2016 and Office 365
Read by 1.6k people
Download Now!
Learn
View all
Membership not found