< Back

Set-vRACatalogItem

Sat Jan 18, 2020 10:06 pm

NAME Set-vRACatalogItem



SYNOPSIS

Update a vRA catalog item





SYNTAX

Set-vRACatalogItem -Id <String> [-Quota <Int32>] [-Service <String>] [-NewAndNoteworthy <Boolean>] [-IconId

<String>] [-WhatIf] [-Confirm] [<CommonParameters>]



Set-vRACatalogItem -Id <String> [-Status <String>] [-IconId <String>] [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Update a vRA catalog item





PARAMETERS

-Id <String>

The id of the catalog item



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-Status <String>

The status of the catalog item (e.g. PUBLISHED, RETIRED, STAGING)



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Quota <Int32>

The Quota of the catalog item



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-Service <String>

The Service to assign the catalog item to



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-NewAndNoteworthy <Boolean>

Mark the catalog item as New and noteworthy in the UI



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-IconId <String>

The Icon Id of the catalog item. This must already exist in the Service Catalog. Typically it would have

already been created via Import-vRAServiceIcon



Required? false

Position? named

Default value

Accept pipeline input? false

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.Int

System.String

System.Bool





OUTPUTS

System.Management.Automation.PSObject





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



PS C:\\>Set-vRACatalogItem -Id dab4e578-57c5-4a30-b3b7-2a5cefa52e9e -Status PUBLISHED













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



PS C:\\>Set-vRACatalogItem -Id dab4e578-57c5-4a30-b3b7-2a5cefa52e9e -Quota 1













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



PS C:\\>Set-vRACatalogItem -Id dab4e578-57c5-4a30-b3b7-2a5cefa52e9e -Service "Default Service"













-------------------------- EXAMPLE 4 --------------------------



PS C:\\>Set-vRACatalogItem -Id dab4e578-57c5-4a30-b3b7-2a5cefa52e9e -NewAndNoteworthy $false













-------------------------- EXAMPLE 5 --------------------------



PS C:\\>Get-vRACatalogItem -Name "Create cluster" | Set-vRACatalogItem -IconId "cafe_icon_CatalogItem01"

-Confirm:$false



TODO:

- Investigate / fix authorization error











RELATED LINKS