﻿<?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 Content tagged powershell</title><link>http://www.sqlservercentral.com/</link><description>Content tagged powershell posted on SQLServerCentral.com</description><language>en-us</language><ttl>360</ttl><managingEditor>sjones@sqlservercentral.com (Steve Jones)</managingEditor><item><title>Stairway to SQL PowerShell</title><description><![CDATA[<p>PowerShell is a powerful scripting tool that allows you to automate routine tasks, and script administrative tasks, allowing you to automate a lot of the routine work in a SQL envirionment. Ben Miller's Stairway Series introduces PowerShell from the beginning, guiding you through how to configure and get started with the framework before working towards more advanced scripting.</p>]]></description><guid>http://www.sqlservercentral.com/stairway/91327/</guid><pubDate>Thu, 14 Jun 2012 09:02:13 UT</pubDate><link>http://www.sqlservercentral.com/stairway/91327/</link></item><item><title>PowerSQL – Find Size, Name, LastAccess and Last Modified time of all bak files  across ALL Servers</title><description><![CDATA[<p>We came across a scenario where database bak files being created from long time which are no more in use...</p>]]></description><guid>http://www.sqlservercentral.com/blogs/powersql-by-prashanth-jayaram/2013/05/13/powersql-find-size-name-lastaccess-and-last-modified-time-of-all-bak-files-across-all-servers/</guid><pubDate>Fri, 17 May 2013 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/blogs/powersql-by-prashanth-jayaram/2013/05/13/powersql-find-size-name-lastaccess-and-last-modified-time-of-all-bak-files-across-all-servers/</link></item><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><!-- 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+%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>PowerShell to SlipStream SQL 2008</title><description><![CDATA[<p>PowerShell script to SlipStream SQL Server 2008  installer with SPx patch.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/powershell/98543/</guid><pubDate>Fri, 03 May 2013 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/powershell/98543/</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>PowerShell to search for domain Computer objects</title><description><![CDATA[<p>Query Active Directory  Computer objects to verify  existence</p>]]></description><guid>http://www.sqlservercentral.com/scripts/powershell/98455/</guid><pubDate>Wed, 01 May 2013 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/powershell/98455/</link></item><item><title>PowerShell to Pre-Create domain objects for SQL Server Cluster</title><description><![CDATA[<p>Pre-Create Active Directory Virtual Computer objects to support a new SQL Cluster  </p>]]></description><guid>http://www.sqlservercentral.com/scripts/powershell/98402/</guid><pubDate>Tue, 30 Apr 2013 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/powershell/98402/</link></item><item><title>Discover, Diagnose, and Document ALL Your SQL Servers On Your Coffee Break</title><description><![CDATA[<p>We all know that we should document our SQL Servers, right? RIGHT? 
So let's say you had some time on...</p>]]></description><guid>http://www.sqlservercentral.com/blogs/kendalvandyke/2013/04/11/discover-diagnose-and-document-all-your-sql-servers-on-your-coffee-break/</guid><pubDate>Wed, 24 Apr 2013 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/blogs/kendalvandyke/2013/04/11/discover-diagnose-and-document-all-your-sql-servers-on-your-coffee-break/</link></item><item><title>Restore Latest Backup with Powershell</title><description><![CDATA[<p>Restores the latest backup of a database to a destination server of your choice, and creates a new backup if needed.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/powershell/98058/</guid><pubDate>Tue, 16 Apr 2013 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/powershell/98058/</link></item><item><title>PowerShell Usage in DBA Work – Case Study 7/7</title><description><![CDATA[<p>Reading/scanning SQL Server Logs is a required DBA work item in all my work environments. I know there are lots...</p>]]></description><guid>http://www.sqlservercentral.com/blogs/jeffrey_yao/2013/03/24/powershell-usage-in-dba-work-case-study-77/</guid><pubDate>Fri, 29 Mar 2013 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/blogs/jeffrey_yao/2013/03/24/powershell-usage-in-dba-work-case-study-77/</link></item><item><title>PowerShell Usage in DBA Work – Case Study 6/7</title><description><![CDATA[<p>SQL Server SMO is a great resource for DBAs, unfortunately, before PowerShell, it is a pretty deep learning curve to...</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/blogs/jeffrey_yao/2013/03/23/powershell-usage-in-dba-work-case-study-67/</guid><pubDate>Wed, 27 Mar 2013 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/blogs/jeffrey_yao/2013/03/23/powershell-usage-in-dba-work-case-study-67/</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 - Document your environment</title><description><![CDATA[<p>This script is an improvement from my original script entitled &quot;Powershell - Query SQL Servers Operating system details&quot;.
</p>]]></description><guid>http://www.sqlservercentral.com/scripts/powershell/97305/</guid><pubDate>Fri, 22 Mar 2013 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/powershell/97305/</link></item><item><title>A Month of PowerShell – Day 27 (Scripting SQL Objects)</title><description><![CDATA[<p>Welcome to Day 27 of my “A Month of PowerShell” series. This series will use the series landing page on...</p>]]></description><guid>http://www.sqlservercentral.com/blogs/discussionofsqlserver/2013/02/27/a-month-of-powershell-day-27-scripting-sql-objects/</guid><pubDate>Mon, 11 Mar 2013 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/blogs/discussionofsqlserver/2013/02/27/a-month-of-powershell-day-27-scripting-sql-objects/</link></item><item><title>A Month of PowerShell – Day 25 (Integrity Checks)</title><description><![CDATA[<p>Welcome to Day 25 of my “A Month of PowerShell” series. This series will use the series landing page on...</p>]]></description><guid>http://www.sqlservercentral.com/blogs/discussionofsqlserver/2013/02/25/a-month-of-powershell-day-25-integrity-checks/</guid><pubDate>Thu, 07 Mar 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/blogs/discussionofsqlserver/2013/02/25/a-month-of-powershell-day-25-integrity-checks/</link></item><item><title>A Month of PowerShell – Day 22 (Restores)</title><description><![CDATA[<p>Welcome to Day 22 of my “A Month of PowerShell” series. This series will use the series landing page on...</p>]]></description><guid>http://www.sqlservercentral.com/blogs/discussionofsqlserver/2013/02/22/a-month-of-powershell-day-22-restores/</guid><pubDate>Mon, 04 Mar 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/blogs/discussionofsqlserver/2013/02/22/a-month-of-powershell-day-22-restores/</link></item><item><title>A Month of PowerShell – Day 21 (Backups)</title><description><![CDATA[<p>Welcome to Day 21 of my “A Month of PowerShell” series. This series will use the series landing page on...</p>]]></description><guid>http://www.sqlservercentral.com/blogs/discussionofsqlserver/2013/02/21/a-month-of-powershell-day-21-backups/</guid><pubDate>Thu, 28 Feb 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/blogs/discussionofsqlserver/2013/02/21/a-month-of-powershell-day-21-backups/</link></item><item><title>Powershell - Query SQL Servers Operating system details</title><description><![CDATA[<p>The script works through the CMS you have set up to manage your environment and gathers various server information.</p>]]></description><guid>http://www.sqlservercentral.com/scripts/powershell/96809/</guid><pubDate>Tue, 26 Feb 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/powershell/96809/</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>A Month of PowerShell – Day 13 (Databases: Adding Schemas, Tables and Indexes)</title><description><![CDATA[<p>Welcome to Day 13 of my “A Month of PowerShell” series. This series will use the series landing page on...</p>]]></description><guid>http://www.sqlservercentral.com/blogs/discussionofsqlserver/2013/02/13/a-month-of-powershell-day-13-databases-adding-schemas-tables-and-indexes/</guid><pubDate>Wed, 20 Feb 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/blogs/discussionofsqlserver/2013/02/13/a-month-of-powershell-day-13-databases-adding-schemas-tables-and-indexes/</link></item><item><title>A Month of PowerShell – Day 10 (Navigating SMO collections)</title><description><![CDATA[<p>Welcome to Day 10 of my “A Month of PowerShell” series. This series will use the series landing page on...</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/blogs/discussionofsqlserver/2013/02/10/a-month-of-powershell-day-10-navigating-smo-collections/</guid><pubDate>Wed, 13 Feb 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/blogs/discussionofsqlserver/2013/02/10/a-month-of-powershell-day-10-navigating-smo-collections/</link></item><item><title>Invitation for T-SQL Tuesday #39 – Can you shell what the PoSH is Cooking?</title><description><![CDATA[<p>

T-SQL Tuesday Party History
In case you’ve been hiding out in the desert, oblivious to all that goes on, there is...</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/blogs/discussionofsqlserver/2013/02/05/invitation-for-t-sql-tuesday-39-can-you-shell-what-the-posh-is-cooking/</guid><pubDate>Fri, 08 Feb 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/blogs/discussionofsqlserver/2013/02/05/invitation-for-t-sql-tuesday-39-can-you-shell-what-the-posh-is-cooking/</link></item><item><title>Powershell - Export Stored Proc results to CSV file</title><description><![CDATA[<p>This Powershell script calls a stored procedure and exports the results to a CSV file</p><!-- how to automate(Deployment Manager) -->
<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-prompt/entrypage/effortlessly?utm_source=ssc&utm_medium=pubad&utm_content=breeze&utm_campaign=sqlprompt&utm_term=rss-20015"><img src="http://assets.red-gate.com/external/SSC/deployment-manager-68x68.png" alt="deploymentmanager"></td>   <td><strong>How to automate your .NET and SQL Server deployments</strong><br />Deploy .NET code and SQL Server databases in a single repeatable process with Red Gate Deployment Manager. <a href="http://www.red-gate.com/products/sql-development/sql-prompt/entrypage/effortlessly?utm_source=ssc&utm_medium=pubad&utm_content=breeze&utm_campaign=sqlprompt&utm_term=rss-20015">Start deploying with a 28-day trial</a></td>  </tr> </tbody></table>

]]></description><guid>http://www.sqlservercentral.com/scripts/powershell/95981/</guid><pubDate>Tue, 05 Feb 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/scripts/powershell/95981/</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>]]></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><!-- 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/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>]]></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></channel></rss>