database-tools

Creating Hashes from Text

A hash is a way to uniquely identify a text without exposing the actual text. Hashes are used to identify texts, find duplicate file content, and...

Pretty Out-GridView Dialog Boxes

When you pipe objects to Out-GridView, the cmdlet shows the default properties, so when you use a grid view window as a selection dialog, you have...

Compare AD User

Did you ever want to compare the properties of ADUsers? Provided you have installed the RSAT tools, you can read individual AD users with...

Creating Code-Signing Certificates

Windows 10 and Server 2016 (and better) ship with an enhanced New-SelfSignedCert cmdlet that finally can create code-signing certificates. With...

Finding PowerShell Named Pipes

Each PowerShell host running PowerShell 5 or better opens a “named pipe” that you can detect. The code below identifies these named...

DevOps and the DBA

Modern application development teams are aligned to deliver software using agile methodologies and a DevOps approach. Agile and DevOps are not the...

Finding Latest PowerShell 6 Release

PowerShell 6 is open-source, and there are frequently new releases available. You can always visit https://github.com/PowerShell/PowerShell/releases...

PowerShell ISE Module Browser

If you are using the built-in PowerShell ISE, you might find the “Module Browser Add-on” useful. It is fairly old and was published in...

Converting SecureString to String

Sometimes it can make sense to convert a SecureString back to a regular string, for example because you have used the shielded input provided by...

Using a Queue instead of a Recursion

Rather than calling functions recursively, you may at times want to use a Queue object that you can load with fresh tasks while you are unloading...

Finding Service Privileges

Get-Service can provide basic information about Windows services but won’t list the required privileges. Here is a small PowerShell function...

Using Variable Breakpoints (Part 2)

In the previous tip we examined Set-PSBreakpoint to create dynamic variable breakpoints in PowerShell. We showed how a breakpoint can trigger when a...

1 42 43 44 45 46 159