Get-SCSpfVMRoleGalleryItem

Gets a gallery item.

Syntax

Get-SCSpfVMRoleGalleryItem -Name <String> -Publisher <String> -Version <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.

Parameters

-Name

Specifies the name of the item.

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

Specifies the publisher of the item.

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

Specifies the version of the item.

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