PSTypeName Class
Serves as a container for a type, typically a .NET Framework type. This class is introduced in Windows PowerShell 2.0.
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)
The PSTypeName object is used as a container for the type specified by the OutputTypeAttribute attribute. This attribute is used to specify what type is returned by a cmdlet. For more information about the OutputTypeAttribute attribute, see OutputType Attribute Declaration. It can be used as a container for a .NET Framework type or in cases where the real .NET Framework type is not available.
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
PSTypeName MembersSystem.Management.Automation Namespace
Other Resources
Windows PowerShell SDKSend comments about this topic to Microsoft.
