concept derive class in category powershell

appears as: derived classes, derived class, derived class, The derived class
Windows PowerShell in Action, Third Edition

This is an excerpt from Manning's book Windows PowerShell in Action, Third Edition.

There are standard ways of wrapping bits of management data in a well-defined package so you can work with this data across different vendors and environments in a consistent way; these are the standard or base CIM classes. To support environment-specific extensions, CIM also allows vendors to create derived classes of the CIM base classes that can surface nonstandard features as a set of extensions while still preserving the common base characteristics of the model. The goal of all this is to make it easier to create system administration tools (and, by corollary, system administrators) that can work effectively in heterogeneous environments. In the next section, we’ll look at how the CIM/WMI infrastructure facilitates these goals.

The act of creating a class that extends any existing class is called inheritance. The original class is known as the base class. The new class, known as the derived class, inherits all of the methods and properties of the base class.

19.3.1. Creating a derived class

Before you can create a derived class, you need a base class. The following listing shows the base class we’ll use for these examples.