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.
Published resource ID.
The target directory where to save the published resource icon file.
The file format of the requested icon.
Possible values: ICO, PNG
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
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.