Get-SCSpfVMRoleGalleryItem

Gets a gallery item.

Syntax

Get-SCSpfVMRoleGalleryItem []
Get-SCSpfVMRoleGalleryItem
   -Name <String>
   -Version <String>
   -Publisher <String>
   [<CommonParameters>]
Get-SCSpfVMRoleGalleryItem
   -Name <String>
   [<CommonParameters>]
Get-SCSpfVMRoleGalleryItem
   -Publisher <String>
   [<CommonParameters>]

Description

The Get-SCSPFVMRoleGalleryItem cmdlet gets a previously imported gallery item.

Examples

Example 1: Get a gallery item

PS C:\>$GalleryItem = Get-SCSPFVMRoleGalleryItem -Name "570569955cbfb62b374358b34467020750f65c"

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

Required Parameters

-Name

Specifies the name of the item.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Publisher

Specifies the publisher of the item.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Version

Specifies the version of the item.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False