< Back

Import-vRAIcon

Sat Jan 18, 2020 10:01 pm

NAME Import-vRAIcon



SYNOPSIS

Imports a vRA Icon





SYNTAX

Import-vRAIcon [-Id] <String[]> [-File] <String[]> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Imports a vRA Icon





PARAMETERS

-Id <String[]>

Specify the ID of an Icon



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-File <String[]>

The Icon file



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String





OUTPUTS

System.Management.Automation.PSObject





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Import-vRAIcon -Id "cafe_default_icon_genericAllServices" -File C:\\Icons\\NewIcon.png



Update the default All Services Icon with a new image file. Note: admin permissions for the default vRA Tenant are

required for this action.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-ChildItem -Path C:\\Icons\\NewIcon.png | Import-vRAIcon -Id "cafe_default_icon_genericAllServices"

-Confirm:$false



Update the default All Services Icon with a new image file via the pipeline. Note: admin permissions for the

default vRA Tenant are required for this action.









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Import-vRAIcon -Id "cafe_icon_Service01" -File C:\\Icons\\Service01Icon.png -Confirm:$false



Create a new Icon named cafe_icon_Service01











RELATED LINKS