Get-SCSPFVMRoleGalleryItem
获取库项。
语法
Get-SCSpfVMRoleGalleryItem []
Get-SCSPFVMRoleGalleryItem
-Name <String>
-Version <String>
-Publisher <String>
[<CommonParameters>]
Get-SCSPFVMRoleGalleryItem
-Name <String>
[<CommonParameters>]
Get-SCSPFVMRoleGalleryItem
-Publisher <String>
[<CommonParameters>]
说明
Get-SCSPFVMRoleGalleryItem cmdlet 获取以前导入的库项。
示例
示例 1:获取库项
PS C:\>$GalleryItem = Get-SCSPFVMRoleGalleryItem -Name "570569955cbfb62b374358b34467020750f65c"
此命令按库的名称从库获取项,并将其存储在$GalleryItem变量中。
参数
-Name
指定项的名称。
Type: | System.String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Publisher
指定项的发布者。
Type: | System.String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Version
指定项的版本。
Type: | System.String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
输入
None
输出
System.Object