Get-EntraApplicationLogo

检索应用程序的徽标。

语法

Default (默认值)

Get-EntraApplicationLogo

    -ApplicationId <String>
    [-FileName <String>]
    [-View <Boolean>]
    [-FilePath <String>]
    [<CommonParameters>]

说明

Get-EntraApplicationLogo cmdlet 检索为应用程序设置的徽标。 指定参数 ApplicationId 以获取应用程序的特定应用程序徽标。

示例

示例 1:按 ID 获取应用程序的应用程序徽标

Connect-Entra -Scopes 'Application.Read.All'
$application = Get-EntraApplication -Filter "DisplayName eq 'Helpdesk Application'"
Get-EntraApplicationLogo -ApplicationId $application.Id -FilePath 'D:\outfile1.jpg'

此示例演示如何检索通过对象 ID 参数指定的应用程序的应用程序徽标。

参数

-ApplicationId

要为其检索徽标的应用程序的 ApplicationId。

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False
别名:对象标识符 (ObjectId)

参数集

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

-FileName

如果提供,则应用程序徽标将使用指定的文件名保存到文件中。

参数属性

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

参数集

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

-FilePath

如果提供,则会使用随机文件名将应用程序徽标复制到此参数中指定的文件路径。

参数属性

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

参数集

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

-View

如果设置为$true,则应用程序的徽标将显示在屏幕上的新窗口中。

参数属性

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

参数集

(All)
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.Boolean

输出

System.Object