使用PowerShell将SIP添加到AD中的ProxyAddress属性中

发布于 2025-02-09 06:38:49 字数 91 浏览 2 评论 0原文

我有用户名和电子邮件地址。 找不到一个简单的命令来在AD属性中添加SIP地址。

sip:emiladdress

请帮助

谢谢

I have username, and email address.
Couldn’t find a simple command to add sip address in AD attributes.

SIP:emiladdress

Please help

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

最美不过初阳 2025-02-16 06:38:49

您需要获取要更新的广告用户,然后附加proxyAddresses属性(属性),然后设置广告用户。做到这一点的整洁而简单的方法是使用Active Directory CMDLET Intancing功能。

$ADUser = Get-ADUser <UserName> -Properties ProxyAddresses

$ADUser.ProxyAddresses = $ADUser.ProxyAddresses += "sip:[email protected]"

Set-ADUser -Instance $ADUser

You need to get the AD user you want to update then append the ProxyAddresses property (attribute) then set the AD user. A neat and easy way to do this is to use the Active Directory cmdlets instancing feature.

$ADUser = Get-ADUser <UserName> -Properties ProxyAddresses

$ADUser.ProxyAddresses = $ADUser.ProxyAddresses += "sip:[email protected]"

Set-ADUser -Instance $ADUser
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文