Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PSParser.Tokenize Method

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Parses a script into a collection of tokens. The variants of this method accept a script as a string or an array of lines. This method is introduced in Windows PowerShell 2.0.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticTokenize(Object[], Collection<PSParseError>)

Parses a script, as an array of lines, into a collection of tokens. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodSystem_CAPS_staticTokenize(String, Collection<PSParseError>)

Parses a script into a collection of tokens. This method is introduced in Windows PowerShell 2.0.

Return to top

Community Additions

Show: