Get-RASFileAccessIcon
SYNOPSIS
Get the file access item icon.
SYNTAX
Get-RASFileAccessIcon [-Id] <uint> [[-DirPath] <string>] [-Format {ICO | PNG}]
[-IconSize {Normal | HighDefinition}] [-SiteId <uint>] [<CommonParameters>]DESCRIPTION
Save the file access item icon to a specified directory.
Get-RASFileAccessIcon command returns the full path (with filename) of the saved file access item 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-RASFileAccessIcon -Id 11 -DirPath "C:\\MyIcons\\"Saves the icon of a file access item specified by ID.
Directory path specified in -DirPath must exist.
PARAMETERS
-Id
File access item ID.
-DirPath
The target directory where to save the file access 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