次の方法で共有


MSFT_ServerManagerTasks class

Class that exposes Multi Machine Server Manager tasks.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("mgmtprovider"), AMENDMENT]
class MSFT_ServerManagerTasks
{
};

Members

The MSFT_ServerManagerTasks class has these types of members:

Methods

The MSFT_ServerManagerTasks class has these methods.

Method Description
GetCounterSamplesAtTime Retrieves the performance counter samples logged by a Data Collector Set at the specified time stamps.
GetCounterSamplesInTimeRange Retrieves the performance counter samples logged by a Data Collector Set in a particular time range.
GetPerformanceCollectorState Retrieves the state of a Data Collector Set in Performance Logs & Alerts.
GetServerBpaResult Retrieves the BPA model results from the server.
GetServerClusterName Retrieves the access names and name of all the nodes in the cluster.
GetServerEventDetail Retrieves the details of events generated in an event log by a particular source.
GetServerEventDetailEx Retrieves the details of events generated in an event log by a particular source.
Windows Server 2012 R2 and Windows Server 2012: This method is not available before Windows Server 2016.
GetServerFeature Gets the server features on the managed node.
GetServerInventory Retrieves the basic inventory information of the server.
GetServerServiceDetail Retrieves the details of the specified Win32 services on the managed node.
RemoveServerPerformanceLog Remove the log file for a data collector set that are older than a given threshold.
SetPerformanceCollectorState Configures the state of a Data Collector Set in Performance Logs & Alerts.

Requirements

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