Get-ExchangeFeature
此 cmdlet 仅适用于本地 Exchange。
使用 Get-ExchangeFeature cmdlet 可返回有关 Exchange 服务器上外部测试版的功能的信息。
有关以下语法部分的参数设置的详细信息,请参阅 Exchange cmdlet 语法。
语法
Get-ExchangeFeature
[-Identity <ServerIdParameter>]
[-FeatureID <MultiValuedProperty>]
[-RingLevel <String>]
[-Status <String>]
[<CommonParameters>]
说明
您必须先获得权限,然后才能运行此 cmdlet。 虽然本主题中列出了此 cmdlet 的所有参数,但如果这些参数并未包含在分配给您的权限中,那么您将无法使用这些参数。 若要查找在贵组织中运行任何 cmdlet 或参数所需的权限,请参阅 Find the permissions required to run any Exchange cmdlet。
示例
示例 1
Get-ExchangeFeature -Status "Enabled"
此示例返回所有启用的功能。
示例 2
Get-ExchangeFeature -FeatureID "PING.1.0"
此示例返回功能 ID 为 PING.1.0 的功能的相关信息。
参数
-FeatureID
适用:2019 Exchange Server
FeatureID 参数指定要查询相关信息的功能。
类型: | MultiValuedProperty |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Identity
适用:2019 Exchange Server
Identity 参数指定要修改的 Exchange 服务器。 可以使用唯一标识该服务器的任何值。 例如:
- 名称
- FQDN
- 可分辨名称 (DN)
- Exchange 旧版 DN
如果不使用此参数,该命令将返回所有 Exchange 服务器的信息。
类型: | ServerIdParameter |
Position: | 0 |
默认值: | None |
必需: | False |
接受管道输入: | True |
接受通配符: | False |
-RingLevel
适用:2019 Exchange Server
RingLevel 参数指定要查询信息的环形级别。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Status
适用:2019 Exchange Server
Status 参数指定要查询其信息的状态。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |