PSToken Class

Represents a token generated from a Windows PowerShell script. This class is introduced in Windows PowerShell 2.0.

Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Dim instance As PSToken

Public NotInheritable Class PSToken
public final class PSToken
public final class PSToken

Tokens are generated by parsing Windows PowerShell scripts using the Tokenize method.


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

© 2015 Microsoft