Assembly: System.Management.Automation (in System.Management.Automation.dll)
The name of the method.
The script to be run when the method is called.
For more information about script methods and other method types that can be used to extend objects, see ETS Methods.
Although it is possible to derive from this class, there is no established scenario for doing this and any attempt to do so may result in unexpected behavior.
Target PlatformsWindows Developer Preview, Windows Server Developer Preview
Send comments about this topic to Microsoft.