How to Rename a SharePoint Group using PowerShell?

Requirement: On a marketing site, the site owner wanted to rename the “Marketing Members” group name to “Marketing Managers” as it makes more sense to him. How to rename a SharePoint Group? To rename a SharePoint 2013 user group, navigate to: Site settings >> Site permissions >> Pick your target group Click…

Read more

How to Create/Delete SharePoint Groups Programmatically with PowerShell?

Requirement: Create or Delete SharePoint User Groups using PowerShell These PowerShell code snippets helps to Create or Delete SharePoint Groups programmatically using PowerShell: Create SharePoint Group using PowerShell: Use this function to create a SharePoint group using PowerShell. Delete SharePoint Group Programmatically with PowerShell: And to delete an existing SharePoint group programmatically,…

Read more

Export SharePoint Users and Groups to Excel using PowerShell

Requirement: Export SharePoint Group members to Excel PowerShell Script to Export Users & Groups: We wanted to Export SharePoint Users and Groups to Excel for analyzing SharePoint Groups and Users along with their Account Name, E-mails! We can export SharePoint User Group to excel using PowerShell. Here is how: This script will…

Read more

Delete Users from SharePoint Site Collection using PowerShell

Requirement: Delete user from site collection in SharePoint 2013  How to delete a user from site collection? So you don’t want a particular user to have access to SharePoint 2010 site anymore! Want to delete users from SharePoint 2010 site collection, isn’t it? Well, How to delete users from site collection? To…

Read more

Add User To SharePoint Group Programmatically with STSADM and C#

Apart from SharePoint User Interface, We can programmatically add users to SharePoint group or site in these ways: Using STSADM command-line tool to add users  Add users to Sharepoint site/group using C# Object Model 1. Using STSADM command-line tool to add users: To add users to the SharePoint site, we can use…

Read more

How to Add Users to SharePoint Site and Grant Permissions?

Adding users to SharePoint site is a frequent activity for SharePoint site owners. Users can be added either to any existing SharePoint group or directly under site permissions. Lets see how to add users in SharePoint site. How to Add Users to SharePoint? To add users to SharePoint 2010 site: 1. Log-in…

Read more

Add a User to Owner Group of All SharePoint Sites using PowerShell

Requirement: Add user to Owner Group of All SharePoint site collections using PowerShell! We’ve site collections grouped by managed paths such as “Teams”, “Projects”. Got a requirement to add a user to the Owner/Members group of all sites under a particular managed path. How to add a User to the Owner/Member Group…

Read more

Remove All Users from a SharePoint Group using PowerShell

Requirement: Remove all users from a group in SharePoint SharePoint PowerShell to remove all users from a group: PowerShell script to remove all user from a SharePoint group programmatically:

Read more

Find and Delete Orphaned Users in SharePoint

Orphaned User? Who are they? Orphaned users are those who have been disabled/removed from Active Directory, but still have permissions to sites, lists and items. Internally, SharePoint keeps them in “UserInfo” table of the content database for meta-data such as created/modified by fields. It’s unavoidable in any organization where employees constantly on-boarding…

Read more