Partager via


GetServerFeature method of the MSFT_ServerManagerTasks class

Gets the server features on the managed node.

Syntax

uint32 GetServerFeature(
  [in]  uint32             FilterFlags,
  [in]  uint32             BatchSize,
  [out] boolean            RequiresReboot,
  [out] MSFT_ServerFeature cmdletOutput[]
);

Parameters

FilterFlags [in]

Return only features that are in a particular install state. Valid values are 0 through 6.

BatchSize [in]

The batch size to stream results in.

RequiresReboot [out]

Flag indicating whether a reboot required status is reported by CBS.

cmdletOutput [out]

An array of embedded instances of the MSFT_ServerFeature class that represent the requested list of features.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Windows\ServerManager
MOF
MgmtProvider.mof
DLL
MgmtProvider.dll

See also

MSFT_ServerManagerTasks

MSFT_ServerFeature