Powershell-Exchange:设置分层通讯薄中通讯组的优先级
2015-12-19 18:26
429 查看
需求:让“公司领导”通讯组显示在层级的第一位。
方法:通过set-group的seniorityindex属性来实现,值越大,越靠前。
具体命令:
Set-Group –Identity 通讯组名称 –SeniorityIndex 50
设置完成后,可以使用下面命令查看是否生效:
Get-Group –Identity 通讯组名称 | select ishierarchicalgroup,seniorityindex | fl
官方参考链接:
启用或禁用层次通讯簿: Exchange Online Help
https://technet.microsoft.com/zh-cn/library/ff607473(v=exchg.150).aspx
方法:通过set-group的seniorityindex属性来实现,值越大,越靠前。
具体命令:
Set-Group –Identity 通讯组名称 –SeniorityIndex 50
设置完成后,可以使用下面命令查看是否生效:
Get-Group –Identity 通讯组名称 | select ishierarchicalgroup,seniorityindex | fl
官方参考链接:
启用或禁用层次通讯簿: Exchange Online Help
https://technet.microsoft.com/zh-cn/library/ff607473(v=exchg.150).aspx
相关文章推荐
- PowerShell打开或关闭光驱
- PowerShell移动目录中指定文件的方法(非全部文件)
- Powershell小技巧之创建短网址
- PowerShell实现查询打开某个文件的默认应用程序
- PowerShell设置文件只读、隐藏属性的方法
- Windows Powershell扩展类型系统
- PowerShell脚本源码输出到文件的最佳写法
- Windows Powershell 通过函数扩展别名
- PowerShell脚本实现创建桌面快捷方式的方法
- PowerShell重启服务命令Restart-Service详细介绍
- PowerShell中执行Javascript的方法示例
- 探索PowerShell(十三) WMI对象介绍
- Powershell小技巧之使用Copy-Item添加程序到开机启动
- Windows Powershell创建对象
- Windows Powershell 访问数组
- Powershell小技巧之使用WS-Man来调用PowerShell命令
- PowerShell在控制台输出特殊符号的方法
- Windows Powershell使用哈希表
- PowerShell实现的文件同步脚本分享
- PowerShell中使用通配符匹配文件路径的例子