当前位置:网站首页 > 更多 > 玩电脑 > 正文

[玩转系统] 无法识别术语“Get-GlobalAddressList”

作者:精品下载站 日期:2024-12-14 13:40:37 浏览:16 分类:玩电脑

无法识别术语“Get-GlobalAddressList”


[玩转系统] 无法识别术语“Get-GlobalAddressList”

在某些情况下,运行“Get-GlobalAddressList”CmdLet 时您会看到以下错误:

Get-GlobalAddressList : The term 'Get-GlobalAddressList' is not recognized
as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ Get-GlobalAddressList
+ ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Get-GlobalAddressList:String) [],
    CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

为了运行 Get-GlobalAddressList CmdLet,您需要具有“AddressList”角色。

默认情况下,“地址列表”角色未分配给任何人。

要解决此问题,您需要将“地址列表”角色分配给角色组。

一种解决方案是将其添加到组织管理角色组:

[玩转系统] 无法识别术语“Get-GlobalAddressList”

Exchange Online Management 模块仅加载您有权限的 CmdLet,因此(假设您是组织管理角色组的成员)您现在可以重新加载 EXO 模块并运行“Get-GlobalAddressList”CmdLet:

PS C:\WINDOWS\system32> Connect-ExchangeOnline

----------------------------------------------------------------------------------------
This V3 EXO PowerShell module contains new REST API backed Exchange Online cmdlets which
doesn't require WinRM for Client-Server communication. You can now run these cmdlets after
turning off WinRM Basic Auth in your client machine thus making it more secure.

Unlike the EXO* prefixed cmdlets, the cmdlets in this module support full functional parity
with the RPS (V1) cmdlets.

V3 cmdlets in the downloaded module are resilient to transient failures, handling retries
and throttling errors inherently.

However, REST backed EOP and SCC cmdlets are not available yet. To use those, you will need
to enable WinRM Basic Auth.

For more information check https://aka.ms/exov3-module
----------------------------------------------------------------------------------------

PS C:\WINDOWS\system32> Get-GlobalAddressList

Name                        RecipientFilter
----                        ---------------
Default Global Address List ((Alias -ne $null) -and (((ObjectClass -eq 'user') -or 
                            (ObjectClass -eq 'contact')
                            -or (ObjectClass -eq 'msExchSystemMailbox') -or
                            (ObjectClass -eq 'msExchDynamicDistributionList') -or
                            (ObjectClass -eq 'group') -or (ObjectClass -eq
                            'publicFolder'))))

如何最大限度地降低一级用户支持的成本

根据 Forrester/Microsoft 的一份报告,迁移到 Office 365 后,管理和培训是最大的成本增长:

[玩转系统] 无法识别术语“Get-GlobalAddressList”

管理和培训大幅增加的主要原因如下:

  • 管理需要多种分散的工具。
  • 许多标准任务需要复杂的 PowerShell 脚本编写。
  • 您仍然需要在本地运行 Exchange。

使用Easy365Manager,您只需几分钟即可解决以上所有问题。

Easy365Manager 是 AD 用户和计算机的管理单元,具有以下优点:

  • 从一个众所周知的界面 (ADUC) 管理一切。
  • 无需复杂的 PowerShell 脚本编写。
  • 删除您的本地 Exchange 服务器。

此外,您只需几分钟即可安装和配置 Easy365Manager。

无需更改基础架构,您可以与本地 Exchange Server 并行运行 Easy365Manager,以安全地测试该工具如何适合您的 IT 组织。

在此预订在线演示。

在此下载功能齐全的 30 天试用版。

在此处观看简短的操作视频,展示使用 Easy365Manager 的日常操作。

在此处阅读有关 Easy365Manager 的更多信息。

您需要 登录账户 后才能发表评论

取消回复欢迎 发表评论:

关灯