Get-SCSPFVMRoleGalleryItem

Applies To: System Center 2012 R2 Orchestrator

Get-SCSPFVMRoleGalleryItem

Gets a gallery item.

Aliases

The following abbreviations are aliases for this cmdlet:

  • The Get-SCVMRoleGalleryItem cmdlets gets a specific gallery item that has been imported.

Syntax

Parameter Set: FromGalleryItemNameParameterSetName
Get-SCSPFVMRoleGalleryItem -Name <String> [ <CommonParameters>]

Parameter Set: FromGalleryItemNameVersionPublisherParameterSetName
Get-SCSPFVMRoleGalleryItem -Name <String> -Publisher <String> -Version <String> [ <CommonParameters>]

Parameter Set: FromGalleryItemPublisherParameterSetName
Get-SCSPFVMRoleGalleryItem -Publisher <String> [ <CommonParameters>]

Detailed Description

The Get-SCSPFVMRoleGalleryItem cmdlets gets a specified gallery item.

Parameters

-Name<String>

Specifies the name that identifies the item in the gallery.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Publisher<String>

Specifies the publisher of the gallery item.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Version<String>

Specifies the version of the gallery item.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

This command gets an item from the gallery by specifying its name and stores it in the $galItem variable.

PS C:\> $galItem = Get-ScSpfVmRoleGalleryItem -Name 570569955cbfb62b374358b34467020750f65c