I needed to modify "Activities I want to share in my newsfeed" value centrally for all users in a SharePoint 2013 farm.
With the following PowerShell, you can set all options checked.
$Site = Get-SPSite -Limit 1
$ServiceContext = Get-SPServiceContext($Site)
$ProfileManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($ServiceContext)
$Profiles = $ProfileManager.GetEnumerator()
foreach ($Profile in $Profiles)
# 4095 is decimal value of 111111111111, meaning all options are checked.
# Binary value describes what options are checked
# so 000000000001 --> 1 (1 being the value you want to set as the field value
# would mean only "Participation in communities" would be checked
$Profile["SPS-PrivacyActivity"].Value = 4095
Technorati Tags: SharePoint 2013