posts-powershell

Increasing Pipeline Speed

The PowerShell pipeline tends to be slow when it is processing a lot of elements. This can take a lot of time: $result = 1..15000 | ForEach-Object {...

read more

Detecting Key Presses

It may be useful for PowerShell to know whether a given key is currently pressed. This way, your profile script could, for example, do things during...

read more

Left Side of Comparison

When using comparison operators, always make sure the relevant part is placed left. That’s because PowerShell looks at the left side of an...

read more
1 9 10 11 12 13 119