我想要运行这个Exchange Power Shell命令,但在执行操作之前,我想确保有一个命令将其反转,如果它不起作用。 这里是命令:
Get-ReceiveConnector “My Internet ReceiveConnector” | Get-ADPermission -user “NT AUTHORITY\Anonymous Logon” | where {$_.ExtendedRights -like “ms-exch-smtp-accept-authoritative-domain-sender”} | Remove-ADPermission
该命令进行任何更改的唯一部分是Remove-ADPermission 。 如果你运行其他所有的东西,你将得到足够的信息来重新创build你正在删除的权限:
Get-ReceiveConnector“我的Internet接收器”| Get-ADPermission -user“NT AUTHORITY \ Anonymous Logon”| 其中{$ _。ExtendedRights-like“ms-exch-smtp-accept-authoritative-domain-sender”} | 格式列表