Add users to SharePoint using PowerShell
Add-PSSnapin "Microsoft.Sharepoint.PowerShell" $web = Get-SPWeb "https://Marketing" $userObject = $web.EnsureUser("ABC\a.b") $group = $web.SiteGroups $group.AddUser($userObject)
Add-PSSnapin "Microsoft.Sharepoint.PowerShell" $web = Get-SPWeb "https://Marketing" $userObject = $web.EnsureUser("ABC\a.b") $group = $web.SiteGroups $group.AddUser($userObject)
I do get lot questions from my SharePoint friends and colleagues regarding IRM’s in SharePoint. The questions are: 1. What is IRM 2. Why do someone need that 3. Where…
I had this nightmare to update comments in workflow task, first I thought it’s easy but it turned out we cannot just update the extended properties of workflow (it’s easy…
Ok guys, I did work on this script for couple of hours and came up with working solution, basically this script will copy/replace items from one SharePoint List to another…
I do have a very strange requirement that i need to change the hyperlink of a item in list (like upload documents link to another library) but unfortunately I cannot…
So the situation is we cannot find the solution files which was deployed long ago and the best, quick and easy way to get all WSP files from SharePoint is…
It’s time for new CSOM stuff, if you want to show your user profile picture and First Name or lets says logged in user picture in some DIV or whatever…
Upload Multiple documents(Files) to SharePoint Document Library using PowerShell Note: Please do not copy paste the complete URL of the document library (which includes allitems.aspx) instead copy till document library…
OK guys, at last my VM’s are back but I’ll host the main site in blogger and rest in SharePoint, please use below URL for all the SharePoint stuff, SharePoint…
Awesome, i like the way they implemented. Source: MS SharePoint Blog The Contoso Learning Companion is a modern Windows 8 application built to work with SharePoint 2010 and 2013. It…