4 Responses to “Use PowerShell to Update email notification setting in SharePoint 2013”

  1. orbhot February 27, 2014 at 9:01 pm #

    Trying to get this to work with SharePoint Online/Office 365, but can’t. Any thoughts? Have you tried it with SPO?

  2. westerdaled May 28, 2014 at 8:13 pm #

    Really good post . As you say just set the property to 0 to get everything. The issue I have got is that nobody is getting emails on follow regardless of this settting.

  3. Sandra November 6, 2014 at 3:09 am #

    Hi There,
    I try run the script, but I got error message:
    PS C:\Users\au-svc-moss-sql-prod> (“Microsoft.Office.Server.UserProfiles”)
    Microsoft.Office.Server.UserProfiles
    PS C:\Users\au-svc-moss-sql-prod> $site = get-spsite -Identity http://mylion.lnc
    orp.net
    PS C:\Users\au-svc-moss-sql-prod> $serviceContext = Get-SPServiceContext($site)
    PS C:\Users\au-svc-moss-sql-prod> $userProfileConfigManager = New-Object

    cmdlet New-Object at command pipeline position 1
    Supply values for the following parameters:
    TypeName: Microsoft.Office.Server.UserProfiles.UserProfileManager($serviceContex
    t);
    New-Object : Cannot find type
    [Microsoft.Office.Server.UserProfiles.UserProfileManager($serviceContext);]:
    make sure the assembly containing this type is loaded.
    At line:1 char:29
    + $userProfileConfigManager = New-Object
    + ~~~~~~~~~~
    + CategoryInfo : InvalidType: (:) [New-Object], PSArgumentExcepti
    on
    + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewOb
    jectCommand

    Please advise what went wrong.

    Many Thanks,
    Sandra

    • Sandra November 6, 2014 at 3:21 am #

      All good, please ignored my previous post.
      Thanks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: