database-tools

Uncover Tiny URLs

Tiny URLs like “http://bit.ly/e0Mw9w” are short and convenient to use, however they often mask the true origin as well. PowerShell can...

Microsoft NET performance

The Precise Application Performance Platform measures end-users transactions from “click to disk”.  If the most resources are consumed within...

Automatic Wallpaper Downloader

Are you tired of boring wallpapers for your desktop? PowerShell can get you new wallpapers! Here’s the function: function Download-Wallpaper { param...

Saving Values to Excel Sheet

Occasionally, you may have to update values in an Excel spreadsheet. PowerShell can access the Excel object model however this is quite slow. Here...

Reading Excel Cells

Occasionally, you may have to read information from Excel spreadsheets. PowerShell can access the Microsoft Excel object model albeit it is quite...

Select-Object and -ExcludeProperty

Here is a line of code that often puzzles PowerShell users: Get-Service | Select-Object -ExcludeProperty Name When you use Select-Object, its...

Creating Highspeed Ping (Part 6)

In the final part of our mini-series, we add pipeline awareness to our super-fast Test-OnlineFast function. You now can pipe computer names into the...

Creating Highspeed Ping (Part 5)

In the previous tip we created a lightning fast new PowerShell function called Test-OnlineFast which used WMI to ping any number of computers with...

Creating Highspeed Ping (Part 4)

In the previous tip we illustrated how WMI can ping multiple computers in a very fast way. So today, let’s wrap the code into a reusable...

Creating Highspeed Ping (Part 3)

In the previous tip we illustrated how WMI can ping multiple computers in a very fast way. However, the syntax was awkward. So let’s rewrite...

Creating Highspeed Ping (Part 2)

In the previous tip we illustrated how WMI can ping computers with a predefined timeout. WMI can do more: it can ping multiple computers lightning...

Creating High-Speed Ping (Part 1)

Pinging computers is a frequently needed task. The PowerShell cmdlets such as Test-Connection can do pings but do not have a timeout limit, so when...

Preview: Top MySQL 8 Features

Although there is no official software release for MySQL 8.0 as of yet, most insiders believe that it’s likely to arrive sometime in 2018.  In the...

Getting Help for PowerShell

Provided you have downloaded the PowerShell help files, there is an easy way to get help for all kinds of PowerShell topics. First, make sure you...

Exploiting Select-Object

Select-Object is a basic cmdlet that most PowerShell users use frequently. However, it has some tricks that are not well known. In its most basic...

ER/Studio 17.0.2 is available

We are pleased to announce the general availability (GA) of IDERA ER/Studio 17.0.2 ER/Studio 17.0.2 contains improvements and enhancements in a...

Reading RunOnce Key

The RunOnce key in the Windows Registry stores all auto-starting executables. It may be empty. To check for auto-starting applications, try this:...

Creating Random Passwords

Here is another small script to produce random passwords consisting of a defined number of capitals, letters, numbers, and special characters:...

Converting PowerShell to Batch

Here is a fun PowerShell function called Convert-PowerShellToBatch. Provide it with the path to a PowerShell script, or pipe in the results from...

Piping Files and Folders

Let’s assume you want to create a function that accepts a file path. There are numerous tasks that can be done with files. You may want to...

Simple WMI Browser

WMI is a powerful information repository – if you know the names of WMI classes: Get-CimInstance -ClassName Win32_BIOS Get-CimInstance...

Finding Nested AD Group Memberships

The following code finds all groups a given Active Directory user is member of (including nested group memberships). The code requires the...

Checking Network Connections

If your machine is connected to the internet (or VPN) via different network connections, depending on where you are, then the following two...

Removing Bloatware from Windows 10

Windows 10 comes with all kinds of preinstalled apps and other features that may feel annoying to some. Richard Newton has created a PowerShell...

1 59 60 61 62 63 159