database-tools

Greetings of the Day (with Voice)

In the previous tip we explained how you can add a personal greeting to your PowerShell profile. This greeting can also be spoken out, provided your...

Greetings of the Day

Here is a simple approach that takes an array of strings and returns a random string that you could use for custom greetings in PowerShell:...

Truth about LINQ in PowerShell

Lately there have been reports about using Linq, a .NET query language, with PowerShell in an effort to speed up code. Until there is true Linq...

Secret Windows 10 Transparency Mode

When you open a native PowerShell console in Windows 10, you can hold down CTRL+SHIFT, then move your mouse wheel, to adjust console background...

What is BPMN?

IDERA's ER/Studio Business Architect allows you to draw both Conceptual Models and Business Process Models.  Business Process Models use...

Flush DNS Cache

Windows is using a DNS cache, so when you change DNS servers, you need to flush the cache before the new settings take effect. PowerShell is a...

Displaying Folder Tree

PowerShell is a friend with old console commands, so the easiest way of displaying the tree structure of a folder is the old “tree”...

Using Cached Port File

In the previous tip we explained how you can download port assignments via PowerShell from IANA. This process requires Internet access and can take...

Get List of Port Assignments

The IANA (Internet Assigned Numbers Authority) maintains a CSV file with all known port assignments. PowerShell can download this list for you: $out...

World Time Clock

PowerShell 5 comes with Get-TimeZone which returns all defined time zones and their time offset. This is all you need for a one-liner world clock:...

Optimal Oracle Index Performance

B-tree indices in Oracle are powerful.  Sometimes a very good index can be even better.  Precise for Oracle helps DBAs recognize this situation....

Check for Daylight Savings Time

Here is how PowerShell can find out whether Daylight Savings Time is currently effective – a potentially needed detail when doing GMT...

Setting Time Zone

While you need administrative privileges to adjust time and date on your computer, each user can change the time zone, i.e. when you travel....

Finding All Variables in a Script

In the previous tip we illustrated how you can analyze the content of a script block and search for variables or commands. The same is possible for...

Finding All Variables in a Script Block

To analyze the content of a script block, you can easily examine the AST, and, for example, create a list of all variables in the code: $code = { $a...

Dashboards

Precise's historic repository is available for trend reporting, dashboards, and analysis.  On Precise's Application screen, in the top right corner,...

Spying on Function Source Code

Here is a quick way how to find the source code of PowerShell functions: ${function:Clear-Host} | clip This would copy the Clear-Host source code to...

Join the Team – Talk Back

Those of you who have endured a product roadmap session with me know that the insight into our direction comes with a price.  That price is me...

Modern Alternative to More

In a PowerShell console, you can continue to pipe to more, just like in cmd.exe, to view results page by page. However, more does not support...

History of the IDERA Duck

We know what you’re all thinking - what’s the deal with the Rubber Ducks? If you’ve attended a conference we've sponsored, or...

1 68 69 70 71 72 159