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)
System.Management.Automation Namespace
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)
[SerializableAttribute] [TypeDescriptionProviderAttribute(typeof(PSObjectTypeDescriptionProvider))] public class PSObject : IFormattable, IComparable, ISerializable, IDynamicMetaObjectProvider
/** @attribute SerializableAttribute() */ /** @attribute TypeDescriptionProviderAttribute(System.Management.Automation.PSObjectTypeDescriptionProvider) */ public class PSObject implements IFormattable, IComparable, ISerializable, IDynamicMetaObjectProvider
SerializableAttribute TypeDescriptionProviderAttribute(System.Management.Automation.PSObjectTypeDescriptionProvider) public class PSObject implements IFormattable, IComparable, ISerializable, IDynamicMetaObjectProvider
The PSObject object is the basis for access to all objects from the scripting language and provides an abstraction for the cmdlet developer.
It is permitted to derive from this class, but there is no established scenario for doing this.
Any public static (
Shared
in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Target Platforms
Windows Developer Preview, Windows Server Developer PreviewReference
PSObject MembersSystem.Management.Automation Namespace
Other Resources
Windows PowerShell SDKSend comments about this topic to Microsoft.