In SharePoint 2013 (2010) Our actions for user profiles are limited to central administration
Where to view, new, delete user profiles.
650) this.width=650; "Title=" in SharePoint 2013 (2010) Our actions for user profiles are limited to central administration "border=" 0 "alt=" in SharePoint 2013 (2010) Our actions for user profiles are limited to central administration "src=" Http://www.ilync.cn/photos/attached/f4b895c1265424fe68dc01cbd5fa5469.png " />
650) this.width=650; "Title=" in SharePoint 2013 (2010) Our actions for user profiles are limited to central administration "style=" HEIGHT:266PX;WIDTH:513PX; "border= "0" alt= "in SharePoint 2013 (2010) Our actions for user profiles are limited to central administration" src= "http://www.ilync.cn/photos/attached/ Cacab194c0553c897ef04b0a697dab4a.png "width=" 882 "height=" 445 "/>
Although we can delete the user profile by viewing it as above, the traditional way of very lame.
Although SharePoint 2013 (2010) provides very comprehensive PowerShell commands However, the UPS service provides commands
quite limited, far from meeting our usage needs today we bring third-party snapin for SharePoint 2013 to extend its
Original function These include two commands
Get-spuserprofile
The command will get the user profile from my Site host
650) this.width=650; "title=" the command will get the user profile "style=" height:318px;width:552px from "My Site Host", "border=" 0 "alt=" the command will pass the " My Site host "gets the user profile in it" src= "Http://www.ilync.cn/photos/attached/5efc08ef1e44d95bbc39bb82974bf10f.png" width= "704" height= "405"/>
you can get my Site host site through the Get-spsite command to get the network through a pipeline the user profile for the station
650) this.width=650; "title=" You can obtain the user profile "style=" height:370px;width:548px of the site through the get-spsite command to get my Site host site through the pipeline; Border= "0" alt= "You can get the user profile" src= "of the site through the get-spsite command by getting my Site host site through the pipeline. http://www.ilync.cn/photos/attached/ 3369ee80535be6fe81b457cdbd05ddf0.png "width=" 691 "height=" 439 "/>
of course, if you like, you can also make changes to the user profile by the return object of the command
Please note that the Get-spuserprofile command will return a list when used with the index
Remove-spuserprofileThis command deletes a specific user profile
the command has only one parameter userprofile this parameter will accept the object returned by Get-spuserprofileas input
650) this.width=650; "title=" the command has only one parameter userprofile the parameter will accept the object returned by Get-spuserprofile as input "style=" height:377px;width : 607px; "border=" 0 "alt=" the command has only one parameter userprofile this parameter will accept the object returned by Get-spuserprofile as input "src=" http://www.ilync.cn/photos/ Attached/df4ed52e8f0d8bcd7c944df2496dba1e.png "Width=" 706 "height=" 396 "/>
Please be careful to confirm the removal of abnormal dangerous action.
The Snapin Information for SharePoint versions of SharePoint 2013/2013sp1 The framework version. NETFramework 4.0
Minimum Windowspowershell version 2.0 The following table lists the snapin tested platforms
Target platform |
Available
|
Windows Server 2012R2 |
YES
|
Windows Server |
YES
|
Windows Server 2008R2 |
YES
|
Windows Server |
not tested |
Download using File:///C:/Users/SARA/Desktop/SharePointSnapin.rar
---This document is provided by http://www.iLync.cn Tian Mengbo Original, if you have any questions, please call: 021-60745131---
This article is from the "Ilync" blog, make sure to keep this source http://ilync.blog.51cto.com/6203086/1559732
Share Point 2013 uses Windows PowerShell to get, remove userprofile