Would you like to know where a public IP address is located? Provided you have Internet access, you can query one of the public information...
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
Get Current IP Address
Here is a quick way to get all IP addresses assigned to your computer: #requires -Version 1 $ipaddress = [System.Net.DNS]::GetHostByName($null)...
Validating Domain Credentials
To check credentials (username plus password) against your current domain, you can use this approach: #requires -Version 1 $username =...
Taking Server Monitoring Alerts up a Level
In this blog I wanted to tackle strategies for monitoring that go beyond looking for and responding to alerts. One of the key features of any...
The Challenge of Master Data Modeling – by David Loshin
I had a recent email exchange in which a customer was looking for guidance in developing data models for master data entities used across multiple...
Safely Use UNC Paths
Whenever you use UNC paths in PowerShell, your script may break. Since a UNC path has no drive letter, PowerShell looks at the current directory...
Using Splatting
With splatting, you can call cmdlets and programmatically control the parameters you submit. To do this, add the parameters and values to a hash...
2015 State of the Cloud Report
Cloud management provider Rightscale has released their second annual State of the Cloud Report, a survey of 930 technical professionals. It is...
Reading RSS Feeds
RSS feeds can be read by using an XML object, however XML objects do not support proxies. Here is an example that uses Invoke-WebRequest to retrieve...
Getting Registry Values and Value Types
Get-ItemProperty can easily read registry values, but you do not get back any information about the registry value type. Get-ItemProperty -Path...
Finding Information about TV Series
PowerShell can query websites that deliver XML content, and here is an example on how to query a movie database. Simply adjust the name of the TV...
Comparing Folder Content
To quickly compare folder content and find out files that exist only in one of two folders, try this example: $list1 = Get-ChildItem...
Comprehensive Data Security Requires Metadata – by Rob Loranger
Anthem Inc. – 80,000,000 records stolen; Sony Pictures – 100 terabytes of data stolen; JP Morgan Chase – 70,000,000 records stolen; and EBay –...
Monitoring Oracle Exadata with Precise
Precise provides a rich toolset to monitor Oracle Exadata. Oracle Exadata provides significant improvements in accessing the data in tables quickly...
Encoded Passwords
If you must put a credential object in your script, here is a way how you can convert a secure string into encrypted text: $password = Read-Host...
Find All Active Drive Letters
To quickly get a list of all drive letters in use, try this: #requires -Version 1 [Environment]::GetLogicalDrives() The result is a list of all...
Encrypting Text Information Using Passphrase
PowerShell 3.0 and later In a previous tip we explained how you can use the Windows product ID stored in the Windows Registry to encrypt some text...
Encrypting Information with Windows ProductID
PowerShell 3.0 and later To store secret information, you can use a SecureString object and save it to disk. PowerShell automatically takes the user...
Tinker, Tailor, Developer, DBA
Tinker, Tailor, Developer, DBA is not intended as a pitch on a slightly less harrowing book or movie than the John Le Carre classic. ...
Finding Exchange Mailboxes
Microsoft Exchange 2013 To find the number of mailboxes, simply use the Exchange cmdlets and have Measure-Object count the results: Get-Mailbox...
Clever Parameter Validation
PowerShell 2.0 and later When you create PowerShell functions with parameters, make sure you tell PowerShell what kind of values the parameter...
Discovering High Impact Cmdlets
All Versions Cmdlets can declare how severe their impact is. Typically, cmdlets that make changes to the system that cannot be undone will have an...
ISE Auto-Completion Trick
PowerShell 3.0 ISE and later When you want to select the information returned by a cmdlet, you typically use Select-Object: Get-Process |...
Backup and Restore of Windows Azure SQL Databases
A growing number of companies have already moved some level of applications and data to the cloud. An equally growing number of companies are still...
Accessing Non-Microsoft LDAP Servers
All Versions There are free Active Directory cmdlets from Microsoft (part of the RSAT tools) and Dell (Quest). They take the complexity out of...
Finding Read-Only and Constant Variables
All PowerShell versions Some variables are protected and cannot be changed. To identify these, take a look at this line: Get-Variable | Where-Object...
Read-Only and Strongly Typed Variables
All PowerShell versions To make PowerShell scripts more robust, you can code a lot of requirements right into your script variables. When you do...
Your new job as a DBA
Are you a database administrator who just started a new job? Have you just taken administrator responsibilities for a new business unit’s databases?...
Using Constants
All PowerShell versions Variables in PowerShell are volatile. You can overwrite and delete them – unless you create constants. Constants can...
Including Resources with Your Scripts
PowerShell 3.0 and later If your script needs additional resources, like text lists of server names, or picture files, or anything else, then make...