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 - Identify Disk Latency on SQL Server Box Using PowerShell

SQL SERVER – Identify Disk Latency on SQL Server Box Using PowerShell

May 26, 2015
Pinal Dave
SQL Tips and Tricks
Disk, PowerShell, SQL Server

Disks are often behind a slow server, and the problem can be hard to spot. Here is a PowerShell script to identify Disk Latency on your SQL Server box.

Read More
SQL SERVER - PowerShell Script - When Was SQL Server Last Restarted?

SQL SERVER – PowerShell Script – When Was SQL Server Last Restarted?

May 13, 2015
Pinal Dave
SQL Tips and Tricks
PowerShell

A simple PowerShell script that reads the ErrorLog to answer a common question: when was SQL Server last restarted? Tips to improve it are welcome.

Read More
Invoke-Sqlcmd PowerShell error.

SQL SERVER – FIX – The term ‘Invoke-Sqlcmd’ is not recognized as the name of a cmdlet

November 23, 2014
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Error Messages

My weekend PowerShell learning hit an error: the term Invoke-Sqlcmd is not recognized as the name of a cmdlet. Here is why it happened and the fix.

Read More
Restart-Service PowerShell command in Notepad++.

SQL SERVER – PowerShell way of Restarting SQL Server Service

November 3, 2014
Pinal Dave
SQL Tips and Tricks
PowerShell

Restarting SQL Server service with PowerShell is one line, and it is wrong on a named instance. The right name, -Force, and when it is really up.

Read More
PowerShell 'Shutdown' button.

SQL SERVER – Start Services or Stop Services with PowerShell – Answer to Question

January 6, 2014
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Server Services

You can check out the original post here: SQL SERVER – Start Services or Stop Services with PowerShell – Question to Readers?.

Read More
SQL SERVER - Start Services or Stop Services with PowerShell - Question to Readers?

SQL SERVER – Start Services or Stop Services with PowerShell – Question to Readers?

January 5, 2014
Pinal Dave
SQL Puzzle
PowerShell, SQL Server

A reader asks why you need the -Force flag to stop services with PowerShell but not to start them. I do not know the answer, so I am asking you.

Read More
A line of falling wooden dominoes on a floor, with one red domino turned sideways to stop the chain.

Automating SQL Server Patching With PowerShell

November 18, 2012
Pinal Dave
SQL Tips and Tricks
Cumulative Update, PowerShell, SQL Patch, SQL Server, SQL Setup

Automating SQL Server Patching with PowerShell means staging a verified package, running Setup quietly, checking logs, and stopping on failure.

Read More
Previous 1 … 4 5 6 7 8 9 Next
  • Books
  • Testimonials
  • Privacy Policy

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