Get-SCSPFVMRoleGalleryItem
取得資源庫專案。
Syntax
Get-SCSpfVMRoleGalleryItem []
Get-SCSPFVMRoleGalleryItem
-Name <String>
-Version <String>
-Publisher <String>
[<CommonParameters>]
Get-SCSPFVMRoleGalleryItem
-Name <String>
[<CommonParameters>]
Get-SCSPFVMRoleGalleryItem
-Publisher <String>
[<CommonParameters>]
Description
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