使用Exchange Online PowerShell 显示邮箱信息 重要 查看新的 Exchange 管理中心! 体验是现代的、智能的、可访问的,并且更好。 个性化仪表板、管理跨租户迁移、体验改进的组功能等。立即尝试! 管理员可以了解如何使用 Exchange Online PowerShell 显示有关其 Microsoft 365 或 Office 365 ...
你可以使用Get-Mailbox和Get-MailboxStatistics命令来获取邮箱大小的信息。 获取所有邮箱 首先,获取所有邮箱: $Mailboxes = Get-Mailbox -ResultSize Unlimited 1. 获取邮箱统计信息 然后,遍历所有邮箱并获取每个邮箱的统计信息: foreach ($Mailbox in $Mailboxes) { $MailboxStatistics = Get-MailboxStatistics -Identi...
Connect-ExchangeOnline #连接 Exchange Online PowerShell 国内版 Connect-ExchangeOnline -ExchangeEnvironmentName O365China #测试连接是否成功,查看1个邮箱 Get-Mailbox -ResultSize 1 能够呈现搜索结果即为成功 完成所需操作后,建议运行以下命令退出登录: #断开远程Exchange PowerShell 会话连接 Disconnect-ExchangeOnlin...
使用远程 PowerShell 连接到 Exchange Online。 键入以下命令,然后按 Enter: PowerShell Get-Mailbox-ResultSizeunlimited-Filter{(RecipientTypeDetails-eq'UserMailbox')-and(Alias-ne'Admin')} |Add-MailboxPermission-UserAdministratorAccount@contoso.com-AccessRightsfullaccess-InheritanceType...
系統管理員可以瞭解其用來連線到 Microsoft 365 中所有 Exchange 相關 PowerShell 環境的 Exchange Online PowerShell V3 模組安裝、維護和設計。
Set-MailboxRegionalConfiguration Set-UserPhoto Use the Get-ConnectionInformation cmdlet to get information about REST API connections to Exchange Online PowerShell and Security & Compliance PowerShell. This cmdlet is required because the Get-PSSession cmdlet in Windows PowerShell doesn't return information...
Note: In Exchange Online PowerShell, we recommend that you use the Get-EXOMailbox cmdlet instead of this cmdlet. For more information, see Connect to Exchange Online PowerShell. For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.Syntax...
PowerShellCopy Get-MailboxStatistics[-Identity] <GeneralMailboxOrMailUserIdParameter> [-Archive] [-CopyOnServer <ServerIdParameter>] [-DomainController <Fqdn>] [-IncludeMoveHistory] [-IncludeMoveReport] [-IncludeQuarantineDetails] [-IncludeSoftDeletedRecipients] [-NoADLookup] [-UseCustomRouting] [<Co...
Module: ExchangePowerShell Applies to: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019This cmdlet is available only in on-premises Exchange. Use the Search-Mailbox cmdlet to search a mailbox and copy the results to a specified target mailbox, delete ...
Set-Mailbox Reference Feedback Module: ExchangePowerShell Applies to: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online, Exchange Online Protection This cmdlet is available in on-premises Exchange and in the cloud-based service. Some parameters...