Get-RASPubItemIcon
Last updated
Last updated
Get-RASPubItemIcon
Get the published resource icon.
Get-RASPubItemIcon [-] <uint> [[-] <string>] [- {ICO | PNG}] [- {Normal | HighDefinition}] [- <uint>] [<>]
Save the published resource icon to a specified directory.
Get-RASPubItemIcon command returns the full path (with filename) of the saved published resource icon.
If HD icon data is available, the icon is saved with 2 resolutions (standard and HD). Otherwise, only the standard resolution is saved.
-Id <uint> Published resource ID.
-DirPath <string> The target directory where to save the published resource icon file.
Possible values: ICO, PNG
ICO format can support both sizes at same time.
PNG format supports either Normal or High definition.
Possible values: Normal, HighDefinition
-SiteId <uint> Site ID.
<CommonParameters>
-none-
---------- EXAMPLE 1 ----------
Get-RASPubItemIcon -Id 11 -DirPath "C:\MyIcons\"
Saves the icon of a published resource specified by ID.
Directory path specified in -DirPath must exist.
-Format <> The file format of the requested icon.
-IconSize <> The requested icon size.