Get-RASPubItemIcon
DESCRIPTION
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.
PARAMETERS
-Id <uint> Published resource ID.
-DirPath <string> The target directory where to save the published resource icon file.
-Format <IconFormat> The file format of the requested icon. Possible values: ICO, PNG
-IconSize <IconSizes> The requested icon size. 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>
INPUTS
-none-
OUTPUTS
EXAMPLES
---------- 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.
Last updated