Click to Rate and Give Feedback
Collapse All/Expand All Collapse All
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)
Dim instance As PSObject
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

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.


System.Object
  System.Management.Automation.PSObject
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker