If all you need is a beep, then PowerShell can help you easily: $frequency = 800 $durationMS = 2000 [console]::Beep($frequency, $durationMS) If...
database-tools
The RDBMS is Dead
If you suspected the title of this blog is click-bait, then you would be correct. But bear with me anyway on a little retrospection of...
Sort IPv4 and IPv6 Addresses Correctly
When you try and sort IPv4 addresses via Sort-Object, this fails: PS> '10.1.2.3', '2.3.4.5', '1.2.3.4' | Sort-Object 1.2.3.4 10.1.2.3 2.3.4.5...
Sort IPv4 Addresses Correctly
In the previous tip we published a super-fast function called Test-OnlineFast, and this function was able to ping an entire IP segment in record...
Final Super-Fast Ping Command
In the previous tip series, we developed a new function called Test-OnlineFast that can ping multiple computers in record time. For some reason, the...
What’s the most important thing SQL Server DBAs want to learn in 2018?
Our product management team at IDERA recently polled a sample of our customer base and asked them to tell us what is the most important technology...
A Short Introduction to the SQL Safe Command Line Interface (CLI)
SQL Safe Backup offers a number of different ways to initiate a backup/restore operation. Operations can be initiated from the SQL Safe Management...
Backing Up Event Logs
There are a number of useful cmdlets to manage event logs, however one functionality is missing: PS> Get-Command -Noun EventLog CommandType Name...
Converting a Windows Error ID into Friendly Text
When you call low level functions from PowerShell, often you get back a numeric return value. If the return value came from a Windows API function,...
Finding Registered Event Log Source Names
When you write events to an event log using Write-EventLog, you must specify a valid source name. However, there is no easy way of finding out which...
SQL Inventory Manager Reporting
We have heard a number of our DBA customers ask for reporting of SQL Inventory Manager data for a number of reasons - (be able to provide executive...
Monyog MySQL Monitor v8.5.0: Introducing Audit Log Analysis
Changes as compared to Monyog MySQL Monitor v8.4.1 include: This release fixes a few minor bugs only and implements a number of user requests....
Easy Logging by Using Event Logs
Often scripts need to log what they do, and PowerShell scripters invest a lot of thought and time on logging information to text files. As an...
Battle the Dark Side of Data Governance
In recent years, there has been a re-awakening, with organizations recognizing the importance of data not only as an operational imperative, but...
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...
Five Important Features of SQL Diagnostic Manager
SQL Diagnostic Manager is a robust performance monitoring, alerting and diagnostics solution for SQL Server. It proactively notifies of health,...
Permanently Setting Environment Variables
PowerShell can set environment variables only in its process set, so these changes will not persist and are not visible outside of PowerShell. To...
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...
Forcefully Close All PowerShell ISE Documents
Here’s a code snippet that forcefully closes all open documents in the PowerShell ISE. Be aware: it closes all documents without asking to...
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...