database-tools

Adding Argument Completion (Part 1)

Adding argument completion to your PowerShell function parameters can improve the usability of your functions tremendously. A common approach is...

Decoding Windows Product Key (Part 2)

In the previous tip we explained how you can ask WMI for a partial Windows product key. If you have lost your original product key, here is a way to...

Decoding Windows Product Key (Part 1)

There are a lot of script examples out there and even key recovery tools that promise to return the full product key, but in many cases, the...

Reading Operating System Details

PowerShell can easily retrieve important operating system details such as the build number and version by reading the appropriate registry values: #...

Prompting for Credentials in Console

When you run Get-Credential or are otherwise prompted for a username and password, Windows PowerShell (powershell.exe) always opens a separate...

Managing SharePoint Online

If you use SharePoint Online and would like to manage it via PowerShell, download and install the Microsoft.Online.SharePoint.PowerShell module from...

Create Software Inventories

The Windows registry stores the names and details of all software that you installed. PowerShell can read this information and provide you with a...

Keep PowerShell Modules Up-To-Date

It’s important to check every now and then that your PowerShell modules are up-to-date. If you are using old and outdated modules, you can run...

1 28 29 30 31 32 159