Get-EntraBetaApplicationProxyConnector

cmdlet Get-EntraBetaApplicationProxyConnector 列出所有连接器,或者指定了特定连接器的详细信息。

语法

GetQuery (默认值)

Get-EntraBetaApplicationProxyConnector

    [-All]
    [-Top <Int32>]
    [-Filter <String>]
    [<CommonParameters>]

GetVague

Get-EntraBetaApplicationProxyConnector

    [-SearchString <String>]
    [-All]
    [<CommonParameters>]

GetById

Get-EntraBetaApplicationProxyConnector

    -OnPremisesPublishingProfileId <String>
    [-All]
    [<CommonParameters>]

说明

Get-EntraBetaApplicationProxyConnector cmdlet 检索给定连接器的详细信息。 如果未指定 connectorId,它将检索分配给租户的所有连接器。

示例

示例 1:检索所有连接器

Connect-Entra -Scopes 'Directory.ReadWrite.All'
Get-EntraBetaApplicationProxyConnector
Id                                   DeletedDateTime
--                                   ---------------
aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb

此命令检索所有连接器。

示例 2:检索特定连接器的信息

Connect-Entra -Scopes 'Directory.ReadWrite.All'
Get-EntraBetaApplicationProxyConnector -OnPremisesPublishingProfileId 'aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb'
Id                                   DeletedDateTime
--                                   ---------------
aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb

此示例演示如何检索特定连接器的信息。

  • OnPremisesPublishingProfileId 参数指定连接器 ID。

示例 3:检索顶部连接器的信息

Connect-Entra -Scopes 'Directory.ReadWrite.All'
Get-EntraBetaApplicationProxyConnector -Top 1
Id                                   DeletedDateTime
--                                   ---------------
aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb

此示例演示如何检索前一个连接器的信息。 您可以将 -Limit 用作 -Top 的别名。

示例 4:使用 SearchString 参数检索信息

Connect-Entra -Scopes 'Directory.ReadWrite.All'
Get-EntraBetaApplicationProxyConnector -SearchString 'Entra PowerShell AppProxy Connector'
Id                                   DeletedDateTime
--                                   ---------------
aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb

此示例演示如何使用 SearchString 检索信息。

示例 5:使用 machineName 属性检索信息

Connect-Entra -Scopes 'Directory.ReadWrite.All'
Get-EntraBetaApplicationProxyConnector -Filter "machineName eq 'AppProxy Machine'"
Id                                   DeletedDateTime
--                                   ---------------
aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb

此示例演示如何使用 machineName 属性检索信息。

参数

-All

列出所有页面。

参数属性

类型:System.Management.Automation.SwitchParameter
默认值:False
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-Filter

指定 OData v4.0 筛选器语句。 此参数控制返回的对象。 有关使用 oData 进行查询的详细信息,可在此处找到: https://www.odata.org/documentation/odata-version-3-0/odata-version-3-0-core-protocol/#queryingcollections

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

GetQuery
Position:Named
必需:False
来自管道的值:True
来自管道的值(按属性名称):True
来自剩余参数的值:False

-OnPremisesPublishingProfileId

特定连接器的 ID。 可以通过运行命令来查找此 ID,而无需此参数来获取所需的 ID,或者转到门户并查看连接器详细信息。

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False
别名:Id

参数集

GetById
Position:Named
必需:True
来自管道的值:True
来自管道的值(按属性名称):True
来自剩余参数的值:False

-SearchString

指定搜索字符串。

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

GetVague
Position:Named
必需:False
来自管道的值:True
来自管道的值(按属性名称):True
来自剩余参数的值:False

-Top

指定要返回的最大记录数。

参数属性

类型:System.Int32
默认值:None
支持通配符:False
不显示:False
别名:Limit

参数集

GetQuery
Position:Named
必需:False
来自管道的值:True
来自管道的值(按属性名称):True
来自剩余参数的值:False

CommonParameters

此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters

输入

System.String

System.Nullable'1[System. 布尔值, mscorlib,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089]] System.Nullable'1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]

输出

System.Object