Archive

Author Archive

PowerShell for Droping Database

March 5, 2013 8 comments

This article will help you to understand how we can drop existing SQL Server Database with the help of SMO and PowerShell V3.0. If you do not have you sample data base created then follow the steps to create your database with PowerShell V3.0. Read more…

PowerShell for Altering Database Properties

March 5, 2013 29 comments

This article will help to understand how to alter databases properties using PowerShell V3.0 and SMO. In previous article we seen PowerShell for Creating a Database. Basically we can alter database options from Automatic, Containment, Cursor, File Stream, Miscellaneous, Recovery, Service Broker and State Categories. Read more…

PowerShell for Searching Database Objects Part I‏I

February 26, 2013 4 comments

In my last article we seen PowerShell for Searching Database Objects Part I. If you look at the actual PowerShell Script in that article it looks very complicated. In this article you will find another two ways to search databases objects with PowerShell with simple(understandable) script. Read more…

PowerShell for Searching Database Objects Part I

February 22, 2013 3 comments

Here is ProwerShell 3.0 Script for searching database object based on their names. We will use AdventureWorksLT2012 database, and will look for SQL Server objects name containing “user” for table level objects only explicitly excluding Federations, because this throws an error. Basically we are going to achieve output below SQL query with ProwerShell Script. Read more…

PowerShell for Creating a Database

February 19, 2013 6 comments

This script explains creating a MS SQL Server database with default properties using PowerShell V3.0. In this script we are going to create a database called “PSDB”, by assuming that this database does not yet exist in current instance. Read more…

PowerShell and SQL Server Works Together

February 18, 2013 5 comments

Before I write anything about PowerShell and MS SQL Server, we need to understand few important concepts and terminology which will help us to identify that PowerShell and MS SQL Server works together. Read more…

PowerShell V3 What’s New?

February 15, 2013 3 comments

In this article I’m going to list some of the notable features introduced in PowerShell V3.0

  • WorkFlows

PowerShell V3 introduces Windows PowerShell Workflow (PSWF), which helps automate the distribution, orchestration, and completion of multi-computer tasks, freeing users and administrators to focus on higher-level tasks. PSWF leverages Windows Workflow Foundation 4.0 for the declarative framework, but using familiar PowerShell syntax and constructs. Read more…

Categories: Powershell Tags: ,

PowerShell Script to Send Email (multiple recipients)

February 15, 2013 14 comments

In this article I will try to wrap how to PowerShell to manage your SQL Server Notifications. And this is very much regular scenario for most of the SQL Server DBA’s to generate notifications when issues arise. There are many ways that we can handle these notifications, but one of the simplest and most reliable and the most common way is email notifications. Read more…

NoSql vs Relational Database

February 11, 2013 1 comment

In my last article I tried to explain NoSQL Do’s and Don’ts. Now it’s time to summarize the criteria that would represent an endorsement for either NoSQL or relational databases. And these criteria are going to break down into a few different areas like financial, issues of demand or load on the system, and the type of work, the workload that the system needs to take on. Read more…

NoSQL Do’s and Don’ts

February 5, 2013 2 comments

In this article I’ll be explaining about Do’s and Don’ts about NoSQL. Essentially I will be talking about the set of circumstances, the scenarios where NoSQL Database makes the most sense and the scenarios where it really doesn’t make a lot of sense and where relational databases would in fact be more appropriate. By sketching out the different scenarios for the different types of databases, you’ll then be in a good position to understand, based on whether your requirement is exposed to one set of scenarios, the other set or both, whether NoSQL databases are appropriate for your organization and for your requirements. Read more…

%d bloggers like this: