System.Management.Automatio ...


PSObject Class
Encapsulates a base object of type Object or type PSCustomObject to allow for a consistent view of any object within the Windows PowerShell environment.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in system.management.automation.dll)
Usage

Dim instance As PSObject
Syntax

Visual Basic
<TypeDescriptionProviderAttribute(GetType(PSObjectTypeDescriptionProvider))> _
Public Class PSObject
    Implements IFormattable, IComparable
C#
[TypeDescriptionProviderAttribute(typeof(PSObjectTypeDescriptionProvider))] 
public class PSObject : IFormattable, IComparable
C++
[TypeDescriptionProviderAttribute(typeof(PSObjectTypeDescriptionProvider))] 
public ref class PSObject : IFormattable, IComparable
J#
/** @attribute TypeDescriptionProviderAttribute(System.Management.Automation.PSObjectTypeDescriptionProvider) */ 
public class PSObject implements IFormattable, IComparable
JScript
TypeDescriptionProviderAttribute(System.Management.Automation.PSObjectTypeDescriptionProvider) 
public class PSObject implements IFormattable, IComparable
Remarks

The PSObject object is the basis for access to all objects from the scripting language and provides an abstraction for the cmdlet developer. For more information about extending types, see Windows PowerShell Extended Type System (ETS).

It is permitted to derive from this class, but there is no established scenario for doing this.


Inheritance Hierarchy

System.Object
  System.Management.Automation.PSObject
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, Windows 7, Windows 2008 R2

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP, Windows 7, Windows 2008 R2
See Also

Page view tracker