posts-powershell

Finding Hidden PowerShell Applications

The most widely known PowerShell hosts are certainly powershell.exe and powershell_ise.exe because they ship out-of-the-box. However, there can be...

Controlling Processor Affinity

Most modern computers have more than one processor, either physical or logical. If you’d like to find out the number of processors, here is a...

Dumping All Passwords from Chrome

In the previous tip we illustrated how you can dump all passwords from your personal Windows Password Vault. The same is true for basically any...

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 {...

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...

Overriding Out-Default (Part 3)

Advanced PowerShell users often find themselves doing one of three things: They run a previous command and add Get-Member to learn more about the...

Overriding Out-Default (Part 2)

When you override Out-Default to do something meaningful, you really want to make sure the old behavior isn’t lost, and instead just something...

Overriding Out-Default (Part 1)

Out-Default is a hidden PowerShell cmdlet that gets called at the end of each command, and outputs results to the console. You can override this...

1 19 20 21 22 23 237