Get-SCServerFeature
Get-SCServerFeature
Gets the operating system roles and features that have been added to a guest operating system profile.
構文
Parameter Set: AllParamSet
Get-SCServerFeature [-Name <String> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Parameter Set: IDParamSet
Get-SCServerFeature -ID <Guid> [-Name <String> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Parameter Set: OSParamSet
Get-SCServerFeature -OperatingSystem <OperatingSystem> [-Name <String> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Parameter Set: OSProfileParamSet
Get-SCServerFeature -GuestOSProfile <GuestOSProfile> [-Name <String> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Parameter Set: TemplateParamSet
Get-SCServerFeature -VMTemplate <Template> [-Name <String> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]
詳細説明
The Get-SCServerFeature cmdlet gets the operating system roles and features that have been added to a guest operating system profile.
パラメーター
-GuestOSProfile<GuestOSProfile>
Specifies a guest operating system profile object.
エイリアス |
none |
必須? |
true |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-ID<Guid>
Specifies the numerical identifier as a globally unique identifier (GUID) for a specific object.
エイリアス |
none |
必須? |
true |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-Name<String>
Specifies the name of a VMM object.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-OperatingSystem<OperatingSystem>
Specifies the type of operating system for a virtual machine. To list the names of all available operating systems in VMM, type Get-SCOperatingSystem
.
エイリアス |
none |
必須? |
true |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-VMMServer<ServerConnection>
Specifies a VMM server object.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-VMTemplate<Template>
Specifies a VMM template object used to create virtual machines.
エイリアス |
none |
必須? |
true |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- ServerFeature
例
Example Example 1: Get all operating system features than have been added to a guest OS profile.
The first command gets the guest operating system profile object named NewOSProfile01, and then stores the object in the $OSProfile variable.
The second command gets all of the server feature objects that have been added to the profile stored in $OSProfile, and then stores the objects in the $ServerFeature array.
PS C:\> $OSProfile = Get-SCGuestOSProfile -Name "NewOSProfile01"
PS C:\> $ServerFeature = Get-SCServerFeature -GuestOSProfile $OSProfile