↧
Answer by sssreddy for Share Point Activity feed power shell script error
Replace the foreach on userprofiles with this while($profile1.MoveNext()) and $profile1.Current will return you the current user profile. Sample $upm = New-Object...
View ArticleAnswer by Per Jakobsen for Share Point Activity feed power shell script error
You are piping ActivifyTypes into an foreach which you're also using to loop through $AllProfiles you need two foreach instead of one
View ArticleShare Point Activity feed power shell script error
#Add SharePoint PowerShell SnapIn if not already added if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue) -eq $null) { Add-PSSnapin "Microsoft.SharePoint.PowerShell" }...
View Article