lync 批量启用用户
2014-06-26 16:27
232 查看
Get-CsAdUser -OU "xxx.com.cn/xxx Group/Colibri/sz-colibri/英特科" | Enable-CsUser -RegistrarPool "pool.xxx.com.cn" -SipAddressType EmailAddress -SipDomain xxx.com.cn
-------------------------------------------
Get-CsUser [-Identity ] [-Credential ] [-DomainController ] [-Filter ] [-LdapFilter ] [-OnLyncServer ] [-OnOfficeCommunicationServer ] [-OU ] [-ResultSize ] [-UnAssignedUser ]
Enable-CsUser -Identity [-Confirm []] [-DomainController ] [-HostingProviderProxyFqdn ] [-PassThru ] [-ProxyPool ] [-RegistrarPool ] [-SipAddress ] [-SipAddressType ] [-SipDomain ] [-WhatIf []]
启用所有用户SIP
根据部门:
Get-CsAdUser -LDAPFilter "department=你的部门" | Enable-CsUser -RegistrarPool "pool.你的域名" -SipAddressType EmailAddress -SipDomain 你的域名
根据OU:
Get-CsAdUser -OU 你的OU名字 | Enable-CsUser -RegistrarPool "pool.你的域名" -SipAddressType EmailAddress -SipDomain 你的域名
启用所有用户的企业语音
根据部门:
Get-CsUser -LdapFilter "Department=你的部门" | Set-CsUser -EnterpriseVoiceEnabled $True
根据OU:
Get-CsUser -OU 你的OU名字 | Set-CsUser -EnterpriseVoiceEnabled $True
为所有用户启用Lync,并且禁用语音和视频功能
Get-CsAdUser -OU "OU=xxx,dc=demo,dc=com,dc=cn" |Set-CsUser -AudioVideoDisabled $True
查找有邮件地址但是没有启用Lync的用户
Get-CsAdUser -OU "OU=User,OU=Corp,dc=domain,dc=com" -Filter {WindowsEmailAddress -ne $Null} | where-object {$_.Enabled -ne $True} | Enable-CsUser -RegistrarPool pool.domain.com -SipAddressType EmailAddress | Set-Csuser -AudioVideoDisabled $True
1.-AudioVideoDisabled
2. -IPPBXSoftPhoneRoutingEnabled
3.-RemoteCallControlTelephonyEnabled
4.-EnterpriseVoiceEnabled
-------------------------------------------
Get-CsUser [-Identity ] [-Credential ] [-DomainController ] [-Filter ] [-LdapFilter ] [-OnLyncServer ] [-OnOfficeCommunicationServer ] [-OU ] [-ResultSize ] [-UnAssignedUser ]
Enable-CsUser -Identity [-Confirm []] [-DomainController ] [-HostingProviderProxyFqdn ] [-PassThru ] [-ProxyPool ] [-RegistrarPool ] [-SipAddress ] [-SipAddressType ] [-SipDomain ] [-WhatIf []]
启用所有用户SIP
根据部门:
Get-CsAdUser -LDAPFilter "department=你的部门" | Enable-CsUser -RegistrarPool "pool.你的域名" -SipAddressType EmailAddress -SipDomain 你的域名
根据OU:
Get-CsAdUser -OU 你的OU名字 | Enable-CsUser -RegistrarPool "pool.你的域名" -SipAddressType EmailAddress -SipDomain 你的域名
启用所有用户的企业语音
根据部门:
Get-CsUser -LdapFilter "Department=你的部门" | Set-CsUser -EnterpriseVoiceEnabled $True
根据OU:
Get-CsUser -OU 你的OU名字 | Set-CsUser -EnterpriseVoiceEnabled $True
为所有用户启用Lync,并且禁用语音和视频功能
Get-CsAdUser -OU "OU=xxx,dc=demo,dc=com,dc=cn" |Set-CsUser -AudioVideoDisabled $True
查找有邮件地址但是没有启用Lync的用户
Get-CsAdUser -OU "OU=User,OU=Corp,dc=domain,dc=com" -Filter {WindowsEmailAddress -ne $Null} | where-object {$_.Enabled -ne $True} | Enable-CsUser -RegistrarPool pool.domain.com -SipAddressType EmailAddress | Set-Csuser -AudioVideoDisabled $True
1.-AudioVideoDisabled
2. -IPPBXSoftPhoneRoutingEnabled
3.-RemoteCallControlTelephonyEnabled
4.-EnterpriseVoiceEnabled
相关文章推荐
- 为Active Directory 用户批量启用lync
- 批量启用lync用户-2
- lync 2010 批量启用用户
- 批量启用lync用户-3
- 通过PowerShell命令批量启用Lync用户
- Lync 项目经验-29-批量-启用用户-启用企业语音-设置分机号(项目中)
- 在Lync中启用域管理员用户作为Lync用户 推荐
- PowerShell 运维菜鸟系列-04-批量-启用用户-启用企业语音-设置分机号(项目中)
- PowerShell脚本(函数)批量启用Exchange2010用户邮箱
- 如何批量导出已经开通Lync权限的用户
- C# 启用Lync用户
- 启用lync用户时出错
- Lync Server 2010控制面板中启用并配置用户
- Lync Server 2010:启用Domain Admins组用户
- Exchange 2013 管理小技巧一-批量启用邮箱用户-利用Powershell
- lync 2010启用用户访问权限不够!
- 统一沟通_前端安装配置与批量启用用户之十五_(Windows Server 2008 R2 SP1英文版) 推荐
- 批量为LYNC用户配置 PIN
- Powershell管理系列(二十四)PowerShell操作之批量启用Exchange用户头像
- Lync日常维护之二:批量修改用户所属SIP域