#PSTip Count occurrences of a word using a hash table
On one of the PowerShell forums someone asked for help with getting the 15 most used words in a webpage. The core of the answer to that question is amazingly clever use of a hash table.
Read MoreOn one of the PowerShell forums someone asked for help with getting the 15 most used words in a webpage. The core of the answer to that question is amazingly clever use of a hash table.
Read MoreNote: This tip requires PowerShell 2.0 or above. In an earlier tip, I showed you how to get the item count in an enumeration.
Read MoreNote: This tip requires PowerShell 2.0 or above. I recently got a couple of Blink(1)s and started exploring how I can use them in PowerShell.
Read MoreNote: This tip requires PowerShell 2.0 or above. You may want to check if a provided file/folder path is relative or absolute and perform appropriate action based on the result.
Read MoreNote: This tip requires PowerShell 2.0 or above. If you are familiar with Windows Management Instrumentation (WMI), there are different types of WMI queries possible.
Read MoreNote: This tip requires PowerShell 3.0 or above. The PowerShell ISE 3.0 brought a lot of new features. One of them is the ability to hide parts of the code by folding them.
Read More