Get-SCSPFVMRoleGalleryItem
Syntax
Empty (Default)
Get-SCSPFVMRoleGalleryItem
[<CommonParameters>]
FromGalleryItemNameVersionPublisherParameterSetName
Get-SCSPFVMRoleGalleryItem
-Name <String>
-Version <String>
-Publisher <String>
[<CommonParameters>]
FromGalleryItemNameParameterSetName
Get-SCSPFVMRoleGalleryItem
-Name <String>
[<CommonParameters>]
FromGalleryItemPublisherParameterSetName
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.
Parameter properties
Type: System.String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
FromGalleryItemNameVersionPublisherParameterSetName
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
FromGalleryItemNameParameterSetName
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Publisher
Specifies the publisher of the item.
Parameter properties
Type: System.String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
FromGalleryItemNameVersionPublisherParameterSetName
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
FromGalleryItemPublisherParameterSetName
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Version
Specifies the version of the item.
Parameter properties
Type: System.String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
FromGalleryItemNameVersionPublisherParameterSetName
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
None
Outputs
System.Object