Get 2017 on a healthy start and participate in our January #SQLChat! Our next Twitter Chat will take place Wednesday, January 11th at 11 AM CT with...
database-tools
Categories
- Free tools
- SQL Admin Toolset
- SQL Compliance Manager
- SQL Defrag Manager
- SQL Diagnostic Manager for MySQL
- SQL Diagnostic Manager for SQL Server
- SQL Diagnostic Manager Pro
- SQL Doctor
- SQL Enterprise Job Manager
- SQL Inventory Manager
- SQL Query Tuner for SQL Server
- SQL Safe Backup
- SQL Secure
- SQL Workload Analysis for SQL Server
- Uptime Infrastructure Monitor Formerly Uptime
Creating Time Spans
You can use New-TimeSpan to define “amounts” of time, and then add or subtract them from dates. Here is an example: $1Day = New-TimeSpan...
RUM – Real User Monitoring & Optimization
Precise can show the real end-user experience from "click to disk" aka RUM | Real User Monitoring. Precise automatically injects (no...
Precise for SQL Server Findings Report | automatic problem identification with recommendations
Precise elevates the IT professional to the next level with automatic problem identification and recommendations. Precise detects everything in SQL...
Waiting for Processes to Exit
Sometimes, a PowerShell script needs to wait for external processes to finish. Here is what some users do: $processNameToWaitForExit =...
DB2 Monitoring and Optimization – Index Recommendations & Modeling
This blog post explores a strategy for improving processing efficiency within IBM’s DB2 on LUW. The Precise product line is designed for...
Using PowerShell Remoting with PIN-enabled Accounts
If you have set up a PIN to log into your computer, PowerShell remoting against your own machine may fail with a weird error message: PS C:\>...
Golden Nugget : Naming Standards Templates
Howdy! Today we will be exploring a feature called Naming Standards Template. In a Naming Standards Template you can define standards for...
Separating Results by Property Value
If you use PowerShell remoting to receive information from remote machines, you can use fan-out simply by specifying more than one computer name....
Analyzing Result Frequencies (without Wasting Memory)
Use Group-Object to group objects based on shared property values, but don’t forget to use –NoElement parameter to discard the actual objects and...
DB2 Monitoring Tools | Precise for DB2
The Precise product line brings its high resolution monitoring to DB2 with Precise for DB2. Precise alerts on availability, displays the top...
Finding Unapproved Verbs
Cmdlets and functions should use only approved verbs to make it easier on user to find commands, and improve consistency. Here is quick audit code...
Most Popular Verbs
Safely Encrypting and Decrypting Text
When you encrypt secret information, the challenge is to find a good secret. One particular safe secret would be your Windows identity, paired with...
Watch Out When Combining -Force and -WhatIf!
The -WhatIf common parameter turns on simulation mode, so a cmdlet won’t change anything and instead report what it “would have”...
Creating File Shares
In Server 2012 R2 and Windows 8.1, there are many useful new modules with cmdlets such as New-SmbShare which creates new file shares easily. If you...
Using Custom Scopes to Discard Any Output
Yesterday we looked at custom scopes to automatically restore variables and clean up behind your code. Custom scopes can also be used to discard any...
Using Custom Scopes
When you change variables, you might need to clean up later and ensure that you reverted them back to some default value – unless you use...
Catching Errors from Native EXEs
Ever wondered how you can catch errors emitted by native console EXEs? PowerShell’s error handlers can only deal with .NET code. Here is the...
Configuration Enforcement
This post is a companion to the webcast today. I'll update it once the webcast airs and I have the recording up. Here is the complete set of scripts...
Advanced Error Handling: Rethrowing Exceptions
When you handle errors, you may sometimes want to replace the original exception with your own. Here is a sample: function Do-Something { # function...
How to Build the Essential SQL Server Administration Tool Chest
A well-equipped tool chest is essential for completing jobs around the home — everything from hanging a picture frame to putting together...
Launching Applications as Someone Else
Let’s assume you would like to open multiple PowerShell consoles running under different identities – or launch whatever application you...
Shed Light into the PowerShell Version Jungle
Meanwhile, there are five major versions of PowerShell around. Toss in the new minor versions such as PowerShell 5.1 on Windows 10 and Server 2016....
Fixing PowerShell 5 Help Bug
When you download PowerShell help via Update-Help, there was a bug in PowerShell 5 that might be fixed by now: text-based help files had the...
Prohibiting Positional Parameters
When you create PowerShell functions, parameters can be named or positional. Here is an example: If you’d like to detect illegal characters in...
Using Named Parameters in PowerShell Functions
When you create a PowerShell function, all parameters are positional until you start adding the “Position” attribute. Once you start to...
Launching PowerShell Hidden
Sometimes a PowerShell script should just produce something, for example a report, which then opens in Excel or notepad. You don’t want to...
Time Zone Management in PowerShell 5.1
PowerShell 5.1 (available on Windows 10 and Server 2016) comes with some new cmdlets to manage computer time zones. Get-TimeZone returns the current...
Exploring Function Source Code
The only fundamental difference between cmdlets and functions in PowerShell is the way how they are programmed: functions use plain PowerShell code,...