database-tools

Using Paths in Prompts

The default PowerShell prompt displays the current location. When you are deep inside nested folders, this steals room for your actual input, and...

read more

Try CTRL+SPACE!

In the PowerShell ISE, there are two key shortcuts that can help you. Pressing TAB works just like in the console, and each time you press TAB, you...

read more

Finding Loaded Assemblies

To dump all .NET assemblies that are loaded in a PowerShell session, try this: System.AppDomain]::CurrentDomain.GetAssemblies() | Where-Object...

read more

Increase History Cache

Command history can be a great help when you work for a while in a PowerShell session. Each session stores the commands you issued, and you can...

read more

Getting Last Bootup Time

In PowerShell 3.0 and better, it's trivial to get back real DateTime information from WMI using Get-CimInstance. This would tell you when your...

read more

Copying Arrays (Part 2)

In a previous tip we explained how you can safely "clone" an array using Clone() method. This will copy the content of an array to a new...

read more