Quantcast
Channel: Share Point Activity feed power shell script error - SharePoint Stack Exchange
Browsing latest articles
Browse All 3 View Live

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 Article


Answer 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 Article


Share 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
Browsing latest articles
Browse All 3 View Live