如果组织有多个 Active Directory 域,可能需要先运行 Set-ADServerSettings cmdlet,并将 ViewEntireForest 参数设置为 $true,然后运行 Get-DistributionGroupMember cmdlet 来查看整个林。 有关详细信息,请参阅“示例 2”。 您必须先获得权限,然后才能运行此 cmdlet。
若要返回正确的结果,如果拓扑环境中有多个 Active Directory 域,则必须通过将查询范围设置为整个林来运行 Get-DistributionGroupMember。解决方案若要解决此问题,请按照下列步骤操作:打开Exchange 命令行管理程序。 在命令行中键入以下命令: PowerShell 复制 Set-ADServerSettings -ViewEntireForest $True ...
Get-DistributionGroup [[-Identity] <DistributionGroupIdParameter>] [-Credential <PSCredential>] [-DomainController <Fqdn>] [-Filter <String>] [-IgnoreDefaultScope] [-IncludeAcceptMessagesOnlyFromDLMembersWithDisplayNames] [-IncludeAcceptMessagesOnlyFromSendersOrMembersWithDisplayNames] [-IncludeAcceptMessages...
Remove-DistributionGroupMember Get-DynamicDistributionGroup New-DynamicDistributionGroup Remove-DynamicDistributionGroup Set-DynamicDistributionGroup Get-ResourceConfig Set-ResourceConfig 公用文件夹 cmdlet 传输Cmdlet 客户端访问 Cmdlet 统一消息 Cmdlet 全局Cmdlet ...
使用Get-DistributionGroupMember 指令程式來搜尋現有的通訊群組成員。語法複製 Get-DistributionGroupMember -Identity <DistributionGroupMemberIdParameter> [-Credential <PSCredential>] [-DomainController <Fqdn>] [-ReadFromDomainController <SwitchParameter>] [-ResultSize <Unlimited>] ...
Exchange 2010 onwards Microsoft provided PowerShell is the only way to check the members of Dynamic DL. I am going to explain how to do it? We are going to use the following commands: Get-DynamicDistributionGroupandGet-Recipient. First get the dynamic DL named DL-NorthAmerica and assigned ...
1. Query AD GroupMembers 2. Take the samAccountname and remove the first 3 digits 3. Lookup modified samAccountame and query for email address 4. Add email address to a DL For example. Lets say a user has an account like SA-BondJames and is a ...
dsget group GroupDN ...[-dn][-samid][-sid][-desc][-secgrp][-scope][{-sServer | -dDomain}][-uUserName] [-p {Password | *}] [-c][-q][-l][{-uc | -uco | -uci}][-partPartitionDN[-qlimit][-qused]]dsget group GroupDN[{-memberof | -members}][-expand][{-sServer ...
The valid values are None, MyGAL, Self, OU, CustomRecipientScope, MyDistributionGroups and ExclusiveRecipientScope. Expand table Type: RecipientWriteScopeType Position: Named Default value: None Required: False Accept pipeline input: False Accept wildcard characters: False Applies to: Exchange ...
We use optional cookies to improve your experience on our websites, such as through social media connections, and to display personalized advertising based on your online activity. If you reject optional cookies, only cookies necessary to provide you the services will be...