SharePoint

Wednesday, 11 March 2015

Migrate Active Directory group in Sharepoint 2013 Using PowerShell

Below Powershell Script migrates AD group in one domain to another in Sharepoint 2013



if(-not(
Get-PSSnapin | Where { $_.Name -eq "Microsoft.SharePoint.PowerShell"})
) {
Add-PSSnapin Microsoft.SharePoint.PowerShell;
}

 $farm = Get-SPFarm

$farm.MigrateGroup('TestDomain1\Group', 'TestDomain2\Group')


Posted by Unknown at 21:58
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Total Pageviews

About Me

Unknown
View my complete profile

Blog Archive

  • ▼  2015 (14)
    • ▼  March (14)
      • Powershell for downloading files step by step from...
      • Powershell for migrating users in claims in sharep...
      • List Threshold Limits & Workarounds in Sharepoint
      • Powershell for migrating Users in sharepoint 2010 ...
      • Migrate Active Directory group in Sharepoint 2013 ...
      • Branding Mysite with feature stapling in Sharepoin...
      • Adding Webpart to webpart pages through powershell
      • Powershell for adding Custom list form of a list
      • Powershell for Editing Web.config to enable sessio...
      • Powershell for adding webpart pages
      • Powershell for uploading documents in Document lib...
      • Powershell for Installing WSP and activating feature
      • Powershell for adding Menu item in Global Navigati...
      • Powershell for Adding Content Editor Webpart to a ...
  • ►  2014 (3)
    • ►  March (3)
Simple theme. Powered by Blogger.