Ben Miller (DBAduck)


Stairway to SQL PowerShell

Stairway to SQL PowerShell Level 11: SQL Server Maintenance Using SQL PowerShell

This level will demonstrate simple techniques to perform a few important SQL Server maintenance tasks using PowerShell. We'll barely scratch the surface of what's possible but I hope it will whet your appetite.

You rated this post out of 5. Change rating

2022-01-19 (first published: )

6,327 reads

Stairway to SQL PowerShell

Stairway to SQL PowerShell Level 10: Getting data in and out of SQL Server using SQL Server PowerShell

In this level we will look at ways of getting data into and out of SQL Server. We will specifically look at the Database object and a cmdlet Invoke-Sqlcmd or Invoke-SqlCmd2. To get data in, we are going to leverage a PowerShell script that uses SMO to put data into a predefined table in SQL Server.

4 (1)

You rated this post out of 5. Change rating

2021-12-08 (first published: )

14,053 reads

Stairway to SQL PowerShell

Stairway to SQL PowerShell Level 7: SQL Server PowerShell and the Basics of SMO

In this level we begin our journey into the SQL Server SMO space. SMO stands for Shared Management Objects and is a library written in .NET for use with SQL Server. The SMO library is available when you install SQL Server Management Tools or you install it separately.

You rated this post out of 5. Change rating

2014-05-14

6,867 reads

Blogs

What do client diagnostics in Cosmos DB mean?

By

This topic keeps coming up with my customers so the purpose of this blog...

Adding Row Numbers to a Query: #SQLNewBlogger

By

I realized that I hadn’t done much blogging on Window functions in T-SQL, and...

Adding Row Numbers to a Query: #SQLNewBlogger

By

I realized that I hadn’t done much blogging on Window functions in T-SQL, and...

Read the latest Blogs

Forums

service is not available

By mohan.bndri

I was trying to access SSRS report in host server browser , throwing an...

FIFO and manufacturing ... how do I get the current cost?

By pietlinden

Sorry, more bakery stuff. Say I buy ingredients over time and I want to...

Linked server and trouble between manager and agent

By msimone

Hello, I have a problem and i don´t understand it. After to link a...

Visit the forum

Question of the Day

Starting to Estimate Disk Storage for Memory-Optimized Tables

If I have durable memory-optimized tables, what is the starting point for estimating storage space?

See possible answers