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 sealed 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

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
© 2014 Microsoft