database-tools

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

Copying Arrays (Part 1)

When you copy variable content, you may just copy the "reference" (memory address), not the content. Take a look at this example: $a =...

read more

Using Encoded Scripts

In VBScript there were encoded scripts. Encoding is by no means a safe way of hiding script content, but it makes it a little harder for users to...

read more

Using Background Jobs

Background jobs can help speed up your scripts. If your scripts consist of a number of separate tasks that also could run in parallel, then...

read more

Removing Windows 10 Apps

Windows 10 comes with a bunch of preinstalled apps. Fortunately, you can use PowerShell to remove any app you don’t like. You may need...

read more