Partager via


RSOP_ScriptCmd class

Represents a script command and its parameters.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

[AMENDMENT]
class RSOP_ScriptCmd
{
  string   script;
  string   arguments;
  datetime executionTime;
};

Members

The RSOP_ScriptCmd class has these types of members:

Properties

The RSOP_ScriptCmd class has these properties.

arguments

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Arguments")

Arguments to the script command.

executionTime

Data type: datetime

Access type: Read-only

Qualifiers: DisplayName ("Execution Time")

Script execution time.

script

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Script")

Name of the script to run.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\RSOP\Computer, Root\RSOP\User
MOF
Rsop.mof
DLL
GPSvc.dll

See also

Group Policy Overview

Group Policy RSoP WMI Classes

RSOP_ScriptPolicySetting