Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Content with tag powershell Rss

<< Previous 20    Items 41 to 60 of 176    Next 20 >>
 

Practical PowerShell for SQL Server Developers and DBAs – Part 1

There is a lot of confusion amongst DBAs about using PowerShell due to existence the deprecated SQLPS mini-shell of SSMS and the newer SQLPS module. In a two-part article and wallchart, Michael Sorens explains how to install it, what it is, and some of the excellent things it has to offer.  Read more...
By Additional Articles 2012/08/27 | Source: SimpleTalk | Category: powershell
Rating: (not yet rated)  Rate this |   Briefcase | 3,071 reads

Working with SQL Agent Durations

SQL Agent stores duration in HHMMSS format - not always useful. Discover how to use Powershell, some basic math, and T-SQL to tame these unruly values.  Read more...
By Kyle Neier 2012/08/23 | Source: SQLServerCentral.com | Category: powershell
Rating: |  Discuss |   Briefcase | 2,741 reads

SQL Audit 301 – Using Powershell to Manage Audits

Today we’re going to go over some very basic scripts to create, drop, and copy SQL Audit objects using Powershell...  Read more...
By 2012/08/20 | Source: SQLServerCentral.com | Category: blogs
Rating: (not yet rated) |  Discuss |   Briefcase | 1,177 reads

Unattended Install with PowerShell

A PowerShell script which will guide you through an interview and produce the configuration file(s) necessary for an unattended installation of SQL Server 2008/2008R2.  Read more...
By Derik Hammer 2012/08/15 | Source: SQLServerCentral.com | Category: powershell
Rating: (not yet rated) |  Discuss |   Briefcase | 825 reads

Stairway to SQL PowerShell Level 2: SQL PowerShell Setup and Config

Now that you know how to get started with PowerShell, it is time to configure PowerShell for SQL Server use. This level covers the components you'll need and how to configure them.  Read more...
By Ben Miller 2012/08/15 | Source: SQLServerCentral.com | Category: stairway series
Rating: |  Discuss |   Briefcase | 7,747 reads

11 Tips to Backup databases with SMO, VB, C# Powershell, Command lines

Sometimes we need to create backups using code. Sometimes we need to do it manually or automatically, programmatically using C#, VB, Powershell.   Read more...
By Daniel Calbimonte 2012/08/14 | Source: SQLServerCentral.com | Category: backup
Rating: |  Discuss |   Briefcase | 5,865 reads

Stairway to SQL PowerShell Level 1: SQL PowerShell Basics

What are PowerShell and SQL PowerShell and how do you use them? Level 1 of this Stairway will help you answer these questions, and start to show you why you might want to use this great tool.  Read more...
By Ben Miller 2012/08/08 | Source: SQLServerCentral.com | Category: stairway series
Rating: |  Discuss |   Briefcase | 14,765 reads

Pushing SQL Alerts to Remote Server using PowerShell 2 and T-SQL

Managing log files in a large enterprise environment can be an overwhelming task. In this article I will show you how to automate some of the work using SQL Alerts and Powershell 2.0  Read more...
By Simon Richards 2012/08/06 | Source: SQLServerCentral.com | Category: sql alerts
Rating: |  Discuss |   Briefcase | 2,211 reads

PowerShell SMO: Just Writing Things Once

Sometimes, you can tire of writing the same PowerShell code once again. After this happened to Phil whilst keying in an SMO pipeline to access databases, it occurred to him that he should have only one pipeline to access databases in PowerShell, one reusable pipeline  Read more...
By Additional Articles 2012/08/01 | Source: SimpleTalk | Category: powershell
Rating:  Rate this |   Briefcase | 2,070 reads

Comparing Two Recordsets Using Powershell

How can you quickly and easily compare recordsets from different instances? This article will show you a quick way to do this with PowerShell.  Read more...
By Tom Powell 2012/07/13 | Source: SQLServerCentral.com | Category: powershell
Rating: |  Discuss |   Briefcase | 1,966 reads

The PoSh DBA - The Attributes of Advanced Functions

Once you pass that point of just hurriedly writing PowerShell scripts for immediate use and start to write PowerShell functions for reuse, then you'll want a robust set of parameters that allow functions to work just like cmdlets.  Read more...
By Additional Articles 2012/07/12 | Source: SimpleTalk | Category: powershell
Rating:  Rate this |   Briefcase | 2,555 reads

Troubleshooting SQL Server with PowerShell - Virtual Chapter Meeting

Come join Laerte Junior on Wednesday ,July 18th 12 noon EDT (GMT -4), for a virtual meeting on Powershell and   Read more...
By Press Release 2012/07/10 | Source: SQLServerCentral.com | Category: powershell
Rating: (not yet rated) |  Discuss |   Briefcase | 783 reads

Create Normalised Databases with Powershell

Database creation with powershell SMO objects  Read more...
By Patrick Viennot 2012/07/06 | Source: SQLServerCentral.com | Category: powershell
Rating: |  Discuss |   Briefcase | 856 reads

Powershell, SMO, and Add-Member - Not Always BFF

Over the past few weeks, I’ve been working with SMO to implement some maintenance routines across my clients. Because of...  Read more...
By 2012/07/04 | Source: SQLServerCentral.com | Category: blogs
Rating: (not yet rated) |  Discuss |   Briefcase | 1,731 reads

Email Job Failures Report to DBA using PowerShell

MySQL introduced its own brand of job scheduling, called Events, in version 5.1. However, some Database Administrators (DBAs) feel that it isn't quite ready for prime time. This article presents a hybrid solution that uses MySQL Event Scheduling to manage the batch jobs and Windows PowerShell for the error handling.  Read more...
By Additional Articles 2012/07/03 | Source: Database Journal | Category: powershell
Rating: (not yet rated)  Rate this |   Briefcase | 2,102 reads

Using a PowerShell Script to delete old files for SQL Server

Many clients are using custom stored procedures or third party tools to backup databases in production environments instead of using database maintenance plans. One of the things that you need to do is to maintain the number of backup files that exist on disk, so you don't run out of disk space. There are several techniques for deleting old files, but in this tip I show how this can be done using PowerShell.  Read more...
By Additional Articles 2012/07/02 | Source: MSSQLTips.com | Category: powershell
Rating:  Rate this |   Briefcase | 2,847 reads

Introduction into handling errors in PowerShell for SQL Server tasks

PowerShell is becoming a great tool for managing SQL Server tasks, but like most tasks that are coded there is always the need for error handling to deal with the unknown. PowerShell has several options for handling and capturing error details and in this tip we will explain these options using PowerShell for SQL Server examples.  Read more...
By Additional Articles 2012/06/28 | Source: MSSQLTips.com | Category: powershell
Rating:  Rate this |   Briefcase | 2,762 reads

Pioneering with PowerShell

In PowerShell, Phil Factor believes we have a true novelty: a Windows Scripting language that outsmarts Perl and Python and Ruby and one that will continue to cause radical changes to Windows server applications, and the tools we use to administer them.  Read more...
By Phil Factor 2012/06/25 | Source: SQLServerCentral.com | Category: editorial
Rating: (not yet rated) |  Discuss |   Briefcase | 147 reads

Database size trending with powershell

a script to import all database sizes from a list of servers into a table using powershell for trending purposes YOU MUST DOWNLOAD CODEPLEX SQL SERVER MODULE FOR THIS TO WORK.  Read more...
By Gene Hunter 2012/06/13 | Source: SQLServerCentral.com | Category: powershell
Rating: |  Discuss |   Briefcase | 1,240 reads

The PoSh DBA: Grown-Up PowerShell Functions

Laerte Junior goes step-by-step through the process of tidying up and making more reusable an untidy collection of PowerShell routines, showing how pipelines and advanced functions can make PowerShell more effective in helping to automate many of the working DBA's chores.  Read more...
By Additional Articles 2012/05/29 | Source: SimpleTalk | Category: powershell
Rating:  Rate this |   Briefcase | 2,809 reads
<< Previous 20    Items 41 to 60 of 176    Next 20 >>
 
Tags
blogs (33)    
smo (16)    
administration (12)    
sql server 2005 (8)    
backup / restore (6)    
monitoring (6)    
stairway series (6)    
amo (5)    
analysis services (ssas) (5)    
editorial (5)    
sql server (4)    
active directory (3)    
backup (3)    
database weekly (3)    
integration services (ssis) (3)    
oracle (3)    
partitioning (3)    
reporting services (ssrs) (3)    
sql agent (3)    
database (2)    
dimensions (2)    
disk space (2)    
extract, transform, load (etl) (2)    
perfmon (2)    
policy based management (pbm) (2)    
recovery model (2)    
restore (2)    
script (2)    
sql server 2008 (2)    
sql server 2012 (2)    
transaction logs (2)    
webinar (2)    
windows 2008 r2 (2)    
windows 2012 (2)    
ansi_nulls (1)    
auditing (1)    
availability groups (1)    
azure (1)    
backup / recovery (1)    
bi (1)    
capacity planning (1)    
central management server (1)    
command line install (1)    
creation (1)    
csv (1)    
cube (1)    
database mail (1)    
database space (1)    
dba (1)    
document environment (1)    
domain (1)    
enterprise manager (1)    
epm (1)    
error handling (1)    
error log (1)    
errorlogs (1)    
event log (1)    
events (1)    
failover cluster (1)    
fragmentation (1)    
free training (1)    
indexing (1)    
jobs (1)    
maintenance (1)    
management (1)    
ms sql 2008 policy-based management & (1)    
objects (1)    
pass (1)    
performance monitoring (1)    
profiler (1)    
quoted_identifier (1)    
registered servers (1)    
remote servers (1)    
script jobs (1)    
scripting (1)    
scripting jobs (1)    
security (1)    
service restart (1)    
services (1)    
silent install (1)    
simple-talk series (1)    
size (1)    
sliding windows (1)    
sliding windows technique (1)    
slipstream (1)    
sql (1)    
sql alerts (1)    
sql compare (1)    
sql discovery (1)    
sql job (1)    
sql jobs (1)    
sql server 7 (1)    
sql server cluster (1)    
sql server powershell (1)    
sqlcmd (1)    
sqljob (1)    
sqljobs (1)    
string manipulation (1)    
textmode (1)    
trending (1)    
troubleshooting (1)    
t-sql (1)    
twitter (1)    
unattended install (1)    
windows cluster (1)    
wmi events queries (1)    
xmla (1)