Resources For IT Professionals
Search TechNet Blogs
Search Results
  • Blog Post: Using the PowerShell Tokenizer to Find Commands in Text

    ...shows how to use the Windows PowerShell tokenizer to parse text and identify commands...playing around with the Windows PowerShell tokenizer . You should refer to that blog for additional...information about using the Windows PowerShell tokenizer to parse scripts because the tokenizer...
    in Blog -
  • Blog Post: Weekend Scripter: Playing Around with the Windows PowerShell Tokenizer

    ...wanting to play around with the Windows PowerShell Tokenizer for a while. The Tokenizer is used to break a Windows PowerShell script into pieces of code called tokens. Using the Tokenizer, you can find commands or variables in a Windows...
    in Blog -
  • Blog Post: Use Regular Expression Pattern when Parsing PowerShell Script

    ...a regular expression pattern and the tokenizer. Weekend Scripter Microsoft Scripting...discussed using the Windows PowerShell tokenizer to parse a section of text and return...cmdlet names as a look up table, the tokenizer to parse the text contained in all of...
    in Blog -
  • Blog Post: Modify the PowerShell ISE to Remove Aliases from Scripts

    ...discussed using the Windows PowerShell tokenizer to parse a section of text and return...Windows PowerShell code to be parsed by the tokenizer). In looking at the dotted notation...stored in a variable, I pass it to the tokenizer by using the same code that I discussed...
    in Blog -
  • Blog Post: Solve Problems with External Command Lines in PowerShell

    ...parse a command line is to ask it. That is right—by using the Windows PowerShell tokenizer (I wrote several articles about using the tokenizer ), it is possible to see exactly how Windows PowerShell will interpret a command line. To...
    in Blog -
  • Blog Post: Simplify PowerShell Hash Table Creation with a Simple Cmdlet

    ...you may want to play around with the Windows PowerShell tokenizer. I wrote a really cool post one weekend that was called “ Playing around with the Windows PowerShell tokenizer .” Anyway, the result of such experimentation will...
    in Blog -
  • Blog Post: Customize Colors and Fonts in the Windows PowerShell ISE

    ...Set-PSISEcolorsAndFonts.ps1 script is choosing the colors to use for colorizing the various parts of a script. These are used by the tokenizer, and depending on if the code is a variable, a keyword, a string etc., you can choose what color to use. By using the...
    in Blog -
  • Blog Post: Exploring the Windows PowerShell ISE Color Objects

    ...set;} The TokenColors property returns a dictionary object that contains the color mappings for the Windows PowerShell ISE tokenizer. This is used to provide the coloration for the scrip pane. Here are the color mappings: PS C:\Users\edwils>...
    in Blog -
  • Blog Post: My Five Favorite PowerShell 3.0 Tips and Tricks

    ...cmdlets used in scripts. In the Weekend Scripter: Hey, Scripting Guy! Blog post Playing Around With the Windows PowerShell Tokenizer , I include a script that I use to parse my scripts to reveal which cmdlets I use the most. When you have run the script...
    in Blog -
Page 1 of 1 (9 items)
Search Tips
  • The more specific you can be with your keywords, the better the search results.
  • If you're looking for a specific phrase then use quotes. For example: "code of conduct" or "how to".
  • Avoid using words such as 'the', 'of', 'a' - they exist in every article and are ignored in the search except when used as part of a phrase.