New answers tagged

0

I have used the same code, I have commented the section to remove the user, once after testing, you can uncomment the section. At line number 46, specify Your OUTPUT FILE NAME in which you will get all the Orphaned users in excel. Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue #Parameter $WebAppURL="YOUR WEB APPLICATION URL" #...


Top 50 recent answers are included