博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Exchange 2013如何自建管理员角色
阅读量:6184 次
发布时间:2019-06-21

本文共 4789 字,大约阅读时间需要 15 分钟。

以一例说明:

创建一个管理员角色,使其只有创建邮箱没有删除邮箱的权限

  1. 创建管理员角色 

C:\Windows\system32> New-ManagementRole -Name "IT Operator" -Parent "Mail Recipient Creation"

 创建"IT Operator"角色继承"Mail Recipient Creation"的所有权限

2. 删除角色中的权限项

 C:\Windows\system32>Remove-ManagementRoleEntry  "IT Operator\Remove-Mailbox"

 删除角色"IT Operator"删除邮箱的权限

如何查看一个角色拥有哪些权限项呢?

 

C:\Windows\system32>Get-ManagementRoleEntry  -Identity "IT Operator\*"

如下所示:

  

[PS] C:\Windows\system32>Get-ManagementRoleEntry  -Identity "IT Operator\*"Name                           Role                      Parameters----                           ----                      ----------Disable-PushNotificationProxy  IT Operator               {Confirm, Debug, ErrorAction, ErrorVariable, OutBuffer, Out...Enable-PushNotificationProxy   IT Operator               {Debug, ErrorAction, ErrorVariable, Organization, OutBuffer...Get-ADServerSettings           IT Operator               {Debug, ErrorAction, ErrorVariable, OutBuffer, OutVariable,...Get-ActiveSyncMailboxPolicy    IT Operator               {Debug, DomainController, ErrorAction, ErrorVariable, Ident...Get-AddressBookPolicy          IT Operator               {Debug, DomainController, ErrorAction, ErrorVariable, Ident...Get-DomainController           IT Operator               {Credential, Debug, DomainName, ErrorAction, ErrorVariable,...Get-MailContact                IT Operator               {Anr, Credential, Debug, DomainController, ErrorAction, Err...Get-MailUser                   IT Operator               {Anr, Credential, Debug, DomainController, ErrorAction, Err...Get-Mailbox                    IT Operator               {Anr, Arbitration, Archive, Credential, Database, Debug, Do...Get-MailboxDatabase            IT Operator               {Debug, DomainController, DumpsterStatistics, ErrorAction, ...Get-ManagedFolderMailboxPolicy IT Operator               {Debug, DomainController, ErrorAction, ErrorVariable, Ident...Get-ManagementRoleAssignment   IT Operator               {AssignmentMethod, ConfigWriteScope, CustomConfigWriteScope...Get-MobileDeviceMailboxPolicy  IT Operator               {Debug, DomainController, ErrorAction, ErrorVariable, Ident...Get-OrganizationalUnit         IT Operator               {Debug, DomainController, ErrorAction, ErrorVariable, Ident...Get-Recipient                  IT Operator               {Anr, BookmarkDisplayName, Database, ErrorAction, ErrorVari...Get-RemoteMailbox              IT Operator               {Anr, Credential, Debug, DomainController, ErrorAction, Err...Get-ResourceConfig             IT Operator               {Debug, DomainController, ErrorAction, ErrorVariable, Ident...Get-RoleAssignmentPolicy       IT Operator               {Debug, DomainController, ErrorAction, ErrorVariable, Ident...Get-SharingPolicy              IT Operator               {Debug, DomainController, ErrorAction, ErrorVariable, Ident...Get-ThrottlingPolicy           IT Operator               {Debug, DomainController, ErrorAction, ErrorVariable, Expli...Get-ThrottlingPolicyAssocia... IT Operator               {Anr, Debug, DomainController, ErrorAction, ErrorVariable, ...Get-Trust                      IT Operator               {Debug, DomainName, ErrorAction, ErrorVariable, OutBuffer, ...Get-User                       IT Operator               {Anr, Arbitration, Credential, Debug, DomainController, Err...Get-UserPrincipalNamesSuffix   IT Operator               {Debug, ErrorAction, ErrorVariable, OrganizationalUnit, Out...New-MailContact                IT Operator               {Alias, ArbitrationMailbox, Confirm, Debug, DisplayName, Do...New-MailUser                   IT Operator               {Alias, ArbitrationMailbox, Confirm, Debug, DisplayName, Do...New-Mailbox                    IT Operator               {AccountDisabled, ActiveSyncMailboxPolicy, AddressBookPolic...New-RemoteMailbox              IT Operator               {AccountDisabled, Alias, Archive, Confirm, Debug, DisplayNa...Remove-MailContact             IT Operator               {Confirm, Debug, DomainController, ErrorAction, ErrorVariab...Remove-MailUser                IT Operator               {Confirm, Debug, DomainController, ErrorAction, ErrorVariab...Remove-PushNotificationSubs... IT Operator               {Confirm, Debug, ErrorAction, ErrorVariable, Force, Mailbox...Remove-RemoteMailbox           IT Operator               {Confirm, Debug, DomainController, ErrorAction, ErrorVariab...Set-ADServerSettings           IT Operator               {ConfigurationDomainController, Confirm, Debug, ErrorAction...Set-MailboxFolderPermission    IT Operator               {Acce***ights, Confirm, Debug, DomainController, ErrorActio...Write-AdminAuditLog            IT Operator               {Comment, Confirm, Debug, DomainController, ErrorAction, Er...

这样就可以灵活创建管理员角色了.

转载地址:http://bqida.baihongyu.com/

你可能感兴趣的文章
为什么阿里巴巴建议集合初始化时,指定集合容量大小?
查看>>
学习笔记(11月02日)--高阶函数
查看>>
配置Hanlp自然语言处理进阶
查看>>
grep简单参数介绍
查看>>
大数据经典学习路线(及供参考)
查看>>
对比了6家交易所的下币规则,我们发现……
查看>>
【有奖征文】《我在51CTO微职位学PMP...》征文活动开始咯!(已结束)
查看>>
使用ansys workbench 的LSDYNA模块研究碰撞的接触设置
查看>>
浅谈身份、数字身份与电子签约的关系
查看>>
小微企业不注册商标的严重后果
查看>>
2018-11-07 直播笔记
查看>>
正向解析DNS服务
查看>>
ospf与eigrp通过修改管理距离实现路由的负载
查看>>
Oracle 数据库的备份与恢复
查看>>
PLSQL异常处理
查看>>
oracle RAC数据库建立STANDBY(四)
查看>>
Oracle 11g r2全外连接优化执行计划(三)
查看>>
tomcat
查看>>
Jenkins 部署
查看>>
我的友情链接
查看>>