Powershell脚本:使用sharepoint active directory创建用户配置文件同步服务
在sharepoint 2013中,我必须通过脚本使用sharepoint active directory创建用户配置文件同步连接。我已经使用powershell创建了用户配置文件服务,之后可以在“配置同步设置”中选择该选项,在“同步选项”中选择“使用SharePoint Active Directory”。之后,我必须使用脚本创建同步连接 我有sharepoint 2010的脚本,但找不到sharepoint 2013的脚本。如果有人曾经尝试过这个,请帮助我 多谢各位Powershell脚本:使用sharepoint active directory创建用户配置文件同步服务,sharepoint,powershell,user-profile,sharepoint-2013,Sharepoint,Powershell,User Profile,Sharepoint 2013,在sharepoint 2013中,我必须通过脚本使用sharepoint active directory创建用户配置文件同步连接。我已经使用powershell创建了用户配置文件服务,之后可以在“配置同步设置”中选择该选项,在“同步选项”中选择“使用SharePoint Active Directory”。之后,我必须使用脚本创建同步连接 我有sharepoint 2010的脚本,但找不到sharepoint 2013的脚本。如果有人曾经尝试过这个,请帮助我 多谢各位 谢谢你选择了这个选项
谢谢你选择了这个选项,效果很好。。但是在那之后我无法创建连接。这是我用来创建连接的代码 添加SPProfileSyncConnection-配置文件服务应用程序53eb09e7-4269-4e88-9109-ea29f603043a -ConnectionForestName“abcde.com” -连接域“abcde” -ConnectionUserName“用户名” -ConnectionPassword“password”-asplaintext-force -连接同步OU“OU=abc,DC=abcde,DC=com” 此脚本出现以下错误 添加SPProfileSyncConnection:无法访问代理。请确认 代理正在运行。 第1行字符:1 +添加spprofilesynconnection + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ +类别信息:InvalidData:(Microsoft.office…eSyncConnection: SPCmdletAddProfileSyncConnection)[添加SPProfileSyncConnection],参数 例外 +FullyQualifiedErrorId:Microsoft.Office.Server.UserProfiles.PowerShell。 SPCmdletAddProfileSyncConnection 对于-ConnectionSynchronization,我是否给出了正确的参数??你能帮我吗?这是我在 $upa=获取SPServiceApplication-名称“UserProfileServiceAppName” $upa.NoILMUsed=$true $upa.Update() 我还建议您在此处查看Spence关于广告直接导入的文章: