Get-SCServerFeature

Gets the operating system roles and features that have been added to a guest OS profile.

Description

The Get-SCServerFeature cmdlet gets the operating system roles and features that have been added to a guest OS profile.

For more information about Get-SCServerFeature, type: "Get-Help Get-SCServerFeature -online".

Parameters

ID

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies the numerical identifier (as a globally unique identifier, or GUID) for a specific object.

Name

Required? false
Accept Pipeline Input? false
Position? named
Specifies the name of a VMM object.

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

GuestOSProfile

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a guest operating system profile object. 

Name

Required? false
Accept Pipeline Input? false
Position? named
Specifies the name of a VMM object.

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

Name

Required? false
Accept Pipeline Input? false
Position? named
Specifies the name of a VMM object.

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

VMTemplate

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM template object used to create virtual machines.

Examples

1: Get all operating system features than have been added to a guest OS profile.
PS C:\> $OSProfile = Get-SCGuestOSProfile -Name "NewOSProfile01"
PS C:\> $ServerFeature = Get-SCServerFeature -GuestOSProfile $OSProfile
The first command gets the guest OS profile object named NewOSProfile01 and stores the object in the $OSProfile variable.

The second command gets all of the server feature objects that have been added to the guest OS profile stored in $OSProfile and stores the objects in the $ServerFeature array.

See Also