This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
SQL SERVER - How to Get List of SQL Server Instances Installed on a Machine?

SQL SERVER – How to Get List of SQL Server Instances Installed on a Machine?

November 12, 2016
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Scripts, SQL Server

There are multiple ways by which we can find a list of SQL Server instances name instances on a machine. In this blog, I would show a few ways to do it.

Read More
PowerShell - Script to Listing all Backups Taken with SQL Server

PowerShell – Script to Listing all Backups Taken with SQL Server

October 24, 2016
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Backup and Restore, SQL Scripts, SQL Server

A handy PowerShell script for listing all backups taken for each database on your SQL Server, one I keep on my USB drive for customer visits.

Read More
Sqlcmd cmdlet output in terminal.

PowerShell – Tip: How to Format PowerShell Script Output?

October 22, 2016
Pinal Dave
SQL Tips and Tricks
File format, PowerShell, SQL Scripts, SQL Server

Raw PowerShell output is hard to read. Here are three common ways to format PowerShell script output, starting with Format-Table, so results make sense.

Read More
PowerShell Scripts - get-process with SQL Server process

PowerShell Scripts – get-process with SQL Server process

October 21, 2016
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Scripts, SQL Server

I was playing with the get-process cmdlet in PowerShell. Here is how to use get-process with SQL Server to find the sqlservr process and its details.

Read More
Windows PowerShell Credential Request.

PowerShell – Create a User with Read Rights on a Database

October 1, 2016
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Login

A DBA kept creating database users by hand. Here is a simple PowerShell and SMO script to create a user with read rights on a database.

Read More
PowerShell - Reading Tables Data Using Script

PowerShell – Reading Tables Data Using Script

September 24, 2016
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Server, SQL Table Operation

Read-SqlTableData is a PowerShell cmdlet for reading tables data from SQL Server without writing a query. Here is how I tried it on my box.

Read More
SQL SERVER - GetRegKeyAccessMask : Could Not Get Registry Access Mask For Registry Key - SQL Server Cluster

SQL SERVER – GetRegKeyAccessMask : Could Not Get Registry Access Mask For Registry Key – SQL Server Cluster

August 29, 2016
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Error Messages, SQL Server Cluster

In a two-node SQL Server Cluster, SQL would not come online on one node and wrote no ERRORLOG. The cluster log showed GetRegKeyAccessMask. Here is the fix.

Read More
Previous 1 2 3 4 5 6 7 8 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com