﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="2.0"><channel><title>SQLServerCentral.com Articles tagged powershell</title><link>http://www.sqlservercentral.com/</link><description>Articles tagged powershell posted on SQLServerCentral.com</description><language>en-us</language><ttl>360</ttl><managingEditor>sjones@sqlservercentral.com (Steve Jones)</managingEditor><item><title>Powershell Database Backup Script</title><description><![CDATA[<p>Learn how to write a script for regular database backups using Powershell and SMO.</p>]]></description><guid>http://www.sqlservercentral.com/articles/Backup+%2f+Restore/71682/</guid><pubDate>Fri, 17 May 2013 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Backup+%2f+Restore/71682/</link></item><item><title>Monitor SQL Instance Balance across Windows Cluster Nodes Using PowerShell</title><description><![CDATA[<p>This tip will demonstrate how to monitor SQL Failover Cluster Instances if they become unbalanced using Windows PowerShell.</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/98657/</guid><pubDate>Fri, 03 May 2013 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/98657/</link></item><item><title>Stairway to SQL PowerShell Level 5: SQL Server PowerShell Building Blocks</title><description><![CDATA[<p>You should be on your way with PowerShell with the previous levels and now the topic shifts to using Functions and Assemblies built in to .NET for use with automation. This topic will be used in your PowerShell adventures throughout your career and this Stairway.</p>]]></description><guid>http://www.sqlservercentral.com/articles/Stairway+Series/97805/</guid><pubDate>Mon, 25 Mar 2013 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Stairway+Series/97805/</link></item><item><title>PowerShell Basics</title><description><![CDATA[<p>Powershell. I have seen the word but what is it? This article gives you a basic introduction to what PowerShell is and how you might use it.</p>]]></description><guid>http://www.sqlservercentral.com/articles/powershell/72051/</guid><pubDate>Fri, 22 Feb 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/powershell/72051/</link></item><item><title>SQL Server 2012 Integration Services - Introduction to Managing SQL Server with PowerShell</title><description><![CDATA[<p>Marcin Policht presents the fundamental principles of PowerShell in the context of SQL Server 2012. Join him as he steps through its initial setup and configuration, and reviews specific management areas where its advantages can be realized.</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/96602/</guid><pubDate>Thu, 31 Jan 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/96602/</link></item><item><title>The PoSh DBA: Solutions using PowerShell and SQL Server</title><description><![CDATA[<p>PowerShell is worth using when it is the quickest way to providing a solution. For the DBA, it is much more than getting information from SQL Server instances via PowerShell; it can also be run from SQL Server as part of a system that helps with administrative and monitoring tasks.</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/94270/</guid><pubDate>Mon, 29 Oct 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/94270/</link></item><item><title>Stairway to SQL PowerShell Level 4: Objects in SQL PowerShell</title><description><![CDATA[<p>This far, we have learned about installation and setup of the PowerShell environment. You should now have a foundation of SQL Server PowerShell. We now are ready to learn about Objects in SQL PowerShell.</p>]]></description><guid>http://www.sqlservercentral.com/articles/Stairway+Series/93403/</guid><pubDate>Mon, 22 Oct 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Stairway+Series/93403/</link></item><item><title>Manage By Delegation</title><description><![CDATA[<p>There always seem to be more and more instances to manage, but not more and more staff. Steve Jones talks about the key to good management being delegation of the work.</p><!-- 12 Tools (SQL Dev Bundle)-->
<table border="0" cellpadding="0" cellspacing="10" style="width: 100%;"> <colgroup>  <col width="68" />  <col width="1266" /> </colgroup> <tbody>  <tr align="left" valign="top">   <td>    <a href="http://www.red-gate.com/products/sql-development/sql-developer-bundle/?utm_source=ssc&utm_medium=pubad&utm_content=12_tools&utm_campaign=sqldeveloperbundle&utm_term=rss-20013"><img src="http://assets.red-gate.com/external/SSC/devbundle_68x68.gif" alt="sqldeveloperbundle"></td>   <td><strong>12 essential tools for database professionals</strong><br />The SQL Developer Bundle contains 12 tools designed with the SQL Server developer and DBA in mind.  <a href="http://www.red-gate.com/products/sql-development/sql-developer-bundle/?utm_source=ssc&utm_medium=pubad&utm_content=12_tools&utm_campaign=sqldeveloperbundle&utm_term=rss-20013">Try it now.</a></td>  </tr> </tbody></table>


]]></description><guid>http://www.sqlservercentral.com/articles/Editorial/94313/</guid><pubDate>Wed, 17 Oct 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Editorial/94313/</link></item><item><title>Check SQL Server Virtual Log Files Using PowerShell </title><description><![CDATA[<p>In a previous tip on Monitor Your SQL Server Virtual Log Files with Policy Based Management, we have seen how we can use Policy Based Management to monitor the number of virtual log files (VLFs) in our SQL Server databases. However, even with that most of the solutions I see online involve the creation of temporary tables and/or a combination of using cursors to get the total number of VLFs in a transaction log file. Is there a much easier solution? </p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/94158/</guid><pubDate>Thu, 11 Oct 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/94158/</link></item><item><title>PowerShell script to find files that are consuming the most disk space</title><description><![CDATA[<p>As you know, SQL Server databases and backup files can take up a lot of disk space.  When disk is running low and you need to troubleshoot disk space issues, the first thing to do is to find large files that are consuming disk space.  In this article I will show you a PowerShell script that you can use to find large files on your disks. </p><!-- 15 seconds (SQL Monitor) -->
<table border="0" cellpadding="0" cellspacing="10" style="width: 100%;"> <colgroup>  <col width="68" />  <col width="1266" /> </colgroup> <tbody>  <tr align="left" valign="top">   <td>    <a href="http://www.red-gate.com/products/dba/sql-monitor/entrypage/custom-metrics?utm_source=ssc&utm_medium=pubad&utm_content=15_seconds&utm_campaign=sqlmonitor&utm_term=rss-20017"><img src="http://assets.red-gate.com/external/SSC/monitor_ico.gif" alt="sqlmonitor"></td>   <td><strong>Get alerts within 15 seconds of SQL Server issues</strong><br />SQL Monitor checks performance data every 15 seconds, so you can fix issues before your users even notice them.  <a href="http://www.red-gate.com/products/dba/sql-monitor/entrypage/custom-metrics?utm_source=ssc&utm_medium=pubad&utm_content=15_seconds&utm_campaign=sqlmonitor&utm_term=rss-20017">Start monitoring with a free trial.</a></td>  </tr> </tbody></table>


]]></description><guid>http://www.sqlservercentral.com/redirect/articles/93741/</guid><pubDate>Wed, 10 Oct 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/93741/</link></item><item><title>Practical PowerShell for SQL Server Developers and DBAs – Part 2</title><description><![CDATA[<p>Having shown just how useful PowerShell can be for DBAs in executing queries, Michael Sorens now takes us through navigating SQL Server space and finding meta-information - valuable information for anyone looking to be more productive in SQL Server.</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/92942/</guid><pubDate>Fri, 07 Sep 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/92942/</link></item><item><title>Stairway to SQL PowerShell Level 3: Input and Output with PowerShell</title><description><![CDATA[<p>This level will cover some of the Input/Output operations you can use with PowerShell. </p>]]></description><guid>http://www.sqlservercentral.com/articles/Stairway+Series/91448/</guid><pubDate>Wed, 29 Aug 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Stairway+Series/91448/</link></item><item><title>Practical PowerShell for SQL Server Developers and DBAs – Part 1</title><description><![CDATA[<p>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.</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/92805/</guid><pubDate>Mon, 27 Aug 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/92805/</link></item><item><title>Working with SQL Agent Durations</title><description><![CDATA[<p>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.</p>]]></description><guid>http://www.sqlservercentral.com/articles/powershell/91474/</guid><pubDate>Thu, 23 Aug 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/powershell/91474/</link></item><item><title>Stairway to SQL PowerShell Level 2: SQL PowerShell Setup and Config</title><description><![CDATA[<p>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.</p>]]></description><guid>http://www.sqlservercentral.com/articles/Stairway+Series/91442/</guid><pubDate>Wed, 15 Aug 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Stairway+Series/91442/</link></item><item><title>11 Tips to Backup databases with SMO, VB, C# Powershell, Command lines</title><description><![CDATA[<p>Sometimes we need to create backups using code. Sometimes we need to do it manually or automatically, programmatically using C#, VB, Powershell. </p><!-- disturbing m1(DBA Bundle) -->
<table border="0" cellpadding="0" cellspacing="10" style="width: 100%;"> <colgroup>  <col width="68" />  <col width="1266" /> </colgroup> <tbody>  <tr align="left" valign="top">   <td>    <a href="http://www.red-gate.com/products/dba/dba-bundle/entrypage/hard-earned-lessons-4?utm_source=ssc&utm_medium=pubad&utm_content=disturbing_m1&utm_campaign=sqldbabundle&utm_term=rss-20018"><img src="http://assets.red-gate.com/external/SSC/top5_68x68.gif" alt="sqldbabundle"></td>   <td><strong>‘Disturbing Development’</strong><br />Grant Fritchey & the DBA Team present the latest installment of the Top 5 hard-earned lessons of a DBA –  <a href="http://www.red-gate.com/products/dba/dba-bundle/entrypage/hard-earned-lessons-4?utm_source=ssc&utm_medium=pubad&utm_content=disturbing_m1&utm_campaign=sqldbabundle&utm_term=rss-20018">read it now</a></td>  </tr> </tbody></table>


]]></description><guid>http://www.sqlservercentral.com/articles/Backup/91590/</guid><pubDate>Tue, 14 Aug 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Backup/91590/</link></item><item><title>Stairway to SQL PowerShell Level 1: SQL PowerShell Basics </title><description><![CDATA[<p>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.</p>]]></description><guid>http://www.sqlservercentral.com/articles/Stairway+Series/90381/</guid><pubDate>Wed, 08 Aug 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Stairway+Series/90381/</link></item><item><title>Pushing SQL Alerts to Remote Server using PowerShell 2 and T-SQL</title><description><![CDATA[<p>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</p>]]></description><guid>http://www.sqlservercentral.com/articles/SQL+Alerts/91622/</guid><pubDate>Mon, 06 Aug 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/SQL+Alerts/91622/</link></item><item><title>PowerShell SMO: Just Writing Things Once</title><description><![CDATA[<p>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</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/92258/</guid><pubDate>Wed, 01 Aug 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/92258/</link></item><item><title>Comparing Two Recordsets Using Powershell</title><description><![CDATA[<p>How can you quickly and easily compare recordsets from different instances? This article will show you a quick way to do this with PowerShell.</p>]]></description><guid>http://www.sqlservercentral.com/articles/powershell/90602/</guid><pubDate>Fri, 13 Jul 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/powershell/90602/</link></item><item><title>The PoSh DBA - The Attributes of Advanced Functions</title><description><![CDATA[<p>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.</p><!-- disturbing m2 (DBA Bundle) -->
<table border="0" cellpadding="0" cellspacing="10" style="width: 100%;"> <colgroup>  <col width="68" />  <col width="1266" /> </colgroup> <tbody>  <tr align="left" valign="top">   <td>    <a href="http://www.red-gate.com/products/dba/dba-bundle/entrypage/hard-earned-lessons-4?utm_source=ssc&utm_medium=pubad&utm_content=disturbing_m2&utm_campaign=sqldbabundle&utm_term=rss-20019"><img src="http://assets.red-gate.com/external/SSC/top5_68x68.gif" alt="sqldbabundle"></td>   <td><strong>Top 5 hard-earned Lessons of a DBA </strong><br />New! Part 4, ‘Disturbing Development’ by Grant Fritchey, features the return of Joe Deebeeay and a server-threatening encounter with ORMs -  <a href="http://www.red-gate.com/products/dba/dba-bundle/entrypage/hard-earned-lessons-4?utm_source=ssc&utm_medium=pubad&utm_content=disturbing_m2&utm_campaign=sqldbabundle&utm_term=rss-20019">read it here</a></td>  </tr> </tbody></table>
]]></description><guid>http://www.sqlservercentral.com/redirect/articles/91794/</guid><pubDate>Thu, 12 Jul 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/91794/</link></item><item><title>Troubleshooting SQL Server with PowerShell - Virtual Chapter Meeting</title><description><![CDATA[<p>Come join Laerte Junior on Wednesday ,July 18th 12 noon EDT (GMT -4), for a virtual meeting on Powershell and </p>]]></description><guid>http://www.sqlservercentral.com/articles/powershell/91742/</guid><pubDate>Tue, 10 Jul 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/powershell/91742/</link></item><item><title>Email Job Failures Report to DBA using PowerShell</title><description><![CDATA[<p>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.</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/91631/</guid><pubDate>Tue, 03 Jul 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/91631/</link></item><item><title>Using a PowerShell Script to delete old files for SQL Server </title><description><![CDATA[<p>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.</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/91629/</guid><pubDate>Mon, 02 Jul 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/91629/</link></item><item><title>Introduction into handling errors in PowerShell for SQL Server tasks </title><description><![CDATA[<p>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.</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/91627/</guid><pubDate>Thu, 28 Jun 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/91627/</link></item><item><title>Pioneering with PowerShell</title><description><![CDATA[<p>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.</p>]]></description><guid>http://www.sqlservercentral.com/articles/Editorial/91503/</guid><pubDate>Mon, 25 Jun 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Editorial/91503/</link></item><item><title>The PoSh DBA: Grown-Up PowerShell Functions</title><description><![CDATA[<p>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.</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/90724/</guid><pubDate>Tue, 29 May 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/90724/</link></item><item><title>Perform Routine Server Checks Using PowerShell</title><description><![CDATA[<p>Database administrators tend to perform a lot of routine checks, referred to as sanity checks, on a daily, weekly, and monthly basis. Rob Gravelle shows you how to write some PowerShell scripts to automate a couple of fairly common sanity checks.</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/90658/</guid><pubDate>Mon, 21 May 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/90658/</link></item><item><title>Microsoft SQL Server 2012 - (SQLPS)</title><description><![CDATA[<p>Prior to SQL Server 2012, Microsoft provided a mini shell called sqlps.exe; in SQL Server 2012, SQLPS exists in the form of module. Learn how to make use of the SQLPS module and how to access SQL Server components and features via Windows PowerShell.</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/89993/</guid><pubDate>Wed, 18 Apr 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/89993/</link></item><item><title>A demo about the power of powershell</title><description><![CDATA[<p>This demo will show you the how powerfull is powershell. We will use cicles and the get-content command. </p>]]></description><guid>http://www.sqlservercentral.com/articles/powershell/88056/</guid><pubDate>Thu, 22 Mar 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/powershell/88056/</link></item></channel></rss>