This is a string modification filter that is intended to calculate the string char value and increment it.
PS Remoting diagnostics
One of the very common problems is to find the root cause why your Powershell Remoting is now working as expected. Below is a small tool that might shed some more light on this type of problem.
Tool to check fileshare permissions on old systems.
I have been working on security project recently. One of the tasks covers checking file share permissions on older systems.
A simple TreeSize replacement
Below you may find a simple way to pick up the folder size and subfolder sizes in PowerShell.
Easy way to split strings with PowerShell
I was asked about an easy way to split strings with PowerShell. The way that would allow to define the amount of characters of the newly generated strings. After a while I have prepared the following filter: The outcome is as follows: C:\> “whatever” | Split-String -CharCount 3 wha tev er
PowerShell and writing files demystified
Few days ago I was looking for a ways to speed up some of my tools. I was not stasifed with the content I had found on the web so I decieded to run some tests on my own. In the effect I created a small tool to validate different file write approach with different […]
Quick way to filter out wrong IP address in PowerShell
There are multiple ways to validate IP address using PowerShell. One of them is to use regex. The regex itself is pretty much far from being lightweight. So we end up with this: The safest way to get it in the console is either copy it from a separate file or type regex for one […]
Highlight lines with a matching pattern when looking at logfiles in PowerShell console.
I saw a question on how to highlight certain lines of text when viewing logfiles in PowerShell console. It took me a few minutes to produce a function that does the job: