Skip to content
Performance Tuning And Infra Automation

I love performance tuning and building automation

  • Home
  • About Me
  • All Articles
  • Contact Me
  • Home
  • Pretty Links
  • Privacy Policy
  • SQL Resources
  • facebook.com
  • twitter.com
  • t.me
  • instagram.com
  • youtube.com
Subscribe

Powershell

  • Home
  • Powershell
How to execute a sql query on multiple servers using PowerShell
Posted inPowershell

Run SQL Query on Multiple Servers Using PowerShell – Serially

In this blog, we explore how to execute a sql server on multiple SQL Servers using PowerShell in serial manner. Then we save the result in Excel and SQL Table. As source servers list, we consider plan text file along with excel & sql query result.
Posted by Ajay Dwivedi December 23, 2023
How to Use Credential Manager for Storing and Retrieving Passwords
Posted inPowershell SQLMonitor TSQL

How To Handle Passwords in PowerShell Automation

This blog describes how to handle passwords when writing PowerShell automation using Credential Manager
Posted by Ajay Dwivedi December 17, 2023
How to Write Prod Grade Code
Posted inPowershell TSQL

Best Practices for Production Grade Code

How to Write Prod Grade Code
Posted by Ajay Dwivedi November 8, 2022
PackageManagement\Install-PackageProvider : No match was found for the specified search criteria for the provider 'NuGet'
Posted inPowershell

Error/Fix: PackageManagement\Install-PackageProvider : No match was found for the specified search criteria for the provider ‘NuGet’

Yesterday I was trying to install dbatools powershell module in one virtual machine that I created for online SQL Class. [crayon-6934653a9e197302703328/] Resolution:- In order to solve this issue permanently, I…
Posted by Ajay Dwivedi August 1, 2020
ScriptOut-LinkedServers-With-Actual-Password
Posted inPowershell

ScriptOut Linked Server with Actual Password

Within my organization, we work in a controlled environment. That means, with each SQL Instance migration, we have strict rules to script out everything including System database user objects, operators,…
Posted by Ajay Dwivedi October 25, 2019
Copy SQL and Batch Files from Source to Destination using PowerShell
Posted inPowershell

Copy SQL and Batch Files from Source to Destination using PowerShell

Recently as part of Server Migration, I had to move nested folders and files from Source server to Destination. This task becomes hard when directory has child folders and files…
Posted by Ajay Dwivedi May 2, 2018
Get-ProcessForDBA cmdlet in SQLDBATools Module
Posted inPowershell

Get-ProcessForDBA cmdlet in SQLDBATools Module

Troubleshooting high memory utilization on servers involves finding out processes which are consuming RAM. But default methods like Task Manager, or Get-Process cmdlet of PowerShell are difficult to read and…
Posted by Ajay Dwivedi April 22, 2018
Help on Apply-FirstResponderKit
Posted inPerformance Tuning Powershell TSQL

Deploy SQL-Server-First-Responder-Kit with Powershell

There are many tools in market that can help you troubleshoot in specific situations. My personal favorite for finding out issue with SQL Server is SQL-Server-First-Responder-Kit created by Brent Ozar…
Posted by Ajay Dwivedi July 19, 2017
Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 100 other subscribers
See what other community members think about SQLMonitor.
Recent Posts
  • Get StackOverflow2013 Database for PostgreSQL & SQLServer
  • Error/Fix: Cannot Insert Duplicate Key for UPSERT Code in SQLServer
  • LogRotate Policy For PostgreSQL
  • Run Ansible Playbooks with Github Action
  • SQLServer Gradually Becomes Slow Until Reboot
Facebook With Ajay Dwivedi
Facebook With Ajay Dwivedi

CATEGORIES

  • Ansible 1
  • Baseline-SQL-Server 22
  • Database Administration 11
  • DevOps 1
  • Errors 15
  • Execution Plan 8
  • Growth & Development 2
  • Health Check 8
  • Internals 3
  • Linux 4
  • Performance Tuning 35
  • PostgreSQL 3
  • Powershell 8
  • SQL Alerts 5
  • SQLMonitor 17
  • TSQL 41
Copyright 2025 — Performance Tuning And Infra Automation. All rights reserved. Bloghash WordPress Theme
Scroll to Top