powertips

Accepting Masked Passwords

If you ever write PowerShell functions that need to accept sensitive input such as passwords, make sure you allow users to submit SecureString...

read more

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
1 12 13 14 15 16 122