Get-RASPubItemIcon
SYNOPSIS
Get the published resource icon.
SYNTAX
Get-RASPubItemIcon [-Id] <uint> [[-DirPath] <string>] [-Format {ICO | PNG}]
[-IconSize {Normal | HighDefinition}] [-SiteId <uint>] [<CommonParameters>]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.
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.
PARAMETERS
-Id
Published resource ID.
-DirPath
The target directory where to save the published resource icon file.
-Format
The file format of the requested icon.
Possible values: ICO, PNG
Type reference: IconFormat
-IconSize
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
Type reference: IconSizes
-SiteId
Site ID.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
RASFiles
RELATED LINKS
Last updated