PowerShell http://sqlmag.com/taxonomy/term/9265/more en Get Database Backup Details with PowerShell http://sqlmag.com/database-administration/get-database-backup-details-powershell <div class="node-body article-body">PowerShell, with a little help from SQL Server Management Objects (SMO), gives you a more versatile way to grab database backup details.</div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/database-administration/get-database-backup-details-powershell" target="_blank">read more</a></p> http://sqlmag.com/database-administration/get-database-backup-details-powershell#comments PowerShell Database Administration backup file restore SQL Server Management Objects SQL Server Management Studio Tue, 27 May 2014 15:30:00 +0000 18091 at http://sqlmag.com Extract Report RDL with PowerShell http://sqlmag.com/powershell/extract-report-rdl-powershell <div class="node-body article-body">While SQL Server Reporting Services provides an easy way to upload an RDL file into Reporting Services, it doesn't provide an easy way to extract the RDL file. Fortunately, you can use the ReportService2010 web service to do this.</div> <div class="field-content-focus"> <span>Content Classification:&nbsp;</span> influencer </div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/powershell/extract-report-rdl-powershell" target="_blank">read more</a></p> http://sqlmag.com/powershell/extract-report-rdl-powershell#comments PowerShell SQL Server Reporting Services RDL file upgrade Mon, 19 May 2014 16:38:00 +0000 18011 at http://sqlmag.com Clean Up SQL Server Logins and Users with PowerShell http://sqlmag.com/powershell/clean-sql-server-logins-and-users-powershell <div class="node-body article-body">Here is a set of PowerShell code that can help you clean up orphaned logins and users in your SQL Servers.</div> <div class="field-content-focus"> <span>Content Classification:&nbsp;</span> influencer </div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/powershell/clean-sql-server-logins-and-users-powershell" target="_blank">read more</a></p> http://sqlmag.com/powershell/clean-sql-server-logins-and-users-powershell#comments PowerShell Database Security cmdlets database maintenance logins security SMO SQL Server Management object model T-SQL Thu, 15 May 2014 16:08:00 +0000 17981 at http://sqlmag.com Use PowerShell Remoting to Manage SQL Servers Efficiently http://sqlmag.com/powershell/use-powershell-remoting-manage-sql-servers-efficiently <div class="node-body article-body">PowerShell 2.0 introduced a different way to manage your servers, called remoting—it gives you a lightweight way to manage all of your servers, and manage them all at the same time.</div> <div class="field-content-focus"> <span>Content Classification:&nbsp;</span> influencer </div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/powershell/use-powershell-remoting-manage-sql-servers-efficiently" target="_blank">read more</a></p> http://sqlmag.com/powershell/use-powershell-remoting-manage-sql-servers-efficiently#comments PowerShell cmdlets remoting Mon, 28 Apr 2014 15:48:00 +0000 17541 at http://sqlmag.com <p>PowerShell script.</p> Use PowerShell to Load XML Data into SQL Server http://sqlmag.com/powershell/use-powershell-load-xml-data-sql-server <div class="node-body article-body">PowerShell is a more efficient method for loading large data sets into SQL Server from XML than T-SQL. Learn how.</div> <div class="field-content-focus"> <span>Content Classification:&nbsp;</span> influencer </div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/powershell/use-powershell-load-xml-data-sql-server" target="_blank">read more</a></p> http://sqlmag.com/powershell/use-powershell-load-xml-data-sql-server#comments PowerShell cmdlet loading data script T-SQL tables XML data XML file Xquery Mon, 21 Apr 2014 15:03:00 +0000 17311 at http://sqlmag.com Passing Command-Line Arguments to PowerShell http://sqlmag.com/powershell/passing-command-line-arguments-powershell <div class="node-body article-body">You can write easy scripts in PowerShell to get things done quickly, but as you get comfortable and want your scripts to be usable by your entire team, take advantage of the features of PowerShell command-line arguments to help those who use your scripts.</div> <div class="field-content-focus"> <span>Content Classification:&nbsp;</span> influencer </div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/powershell/passing-command-line-arguments-powershell" target="_blank">read more</a></p> http://sqlmag.com/powershell/passing-command-line-arguments-powershell#comments PowerShell Database Administration http://sqlmag.com/powershell/set-database-option-properties-powershell Mon, 07 Apr 2014 16:28:00 +0000 17001 at http://sqlmag.com Handling Errors in PowerShell http://sqlmag.com/powershell/handling-errors-powershell <div class="node-body article-body">PowerShell provides ways to manage times when there are errors in the execution of our script so we can recover, and still get the job done.</div> <div class="field-content-focus"> <span>Content Classification:&nbsp;</span> influencer </div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/powershell/handling-errors-powershell" target="_blank">read more</a></p> http://sqlmag.com/powershell/handling-errors-powershell#comments PowerShell Database Administration CheckTables code database administrators DBAs disaster recovery errors PowerShell script Trap statement Try-Catch-Finally Mon, 24 Mar 2014 19:28:00 +0000 16841 at http://sqlmag.com Add Help to your PowerShell Scripts http://sqlmag.com/powershell/add-help-your-powershell-scripts <div class="node-body article-body">One of the greatest tools to assist with learning PowerShell is the help system, and specifically the Get-Help cmdlet. This cmdlet is one of the three key cmdlets in learning PowerShell, the other two being Get-Command and Get-Member.</div> <div class="field-content-focus"> <span>Content Classification:&nbsp;</span> influencer </div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/powershell/add-help-your-powershell-scripts" target="_blank">read more</a></p> http://sqlmag.com/powershell/add-help-your-powershell-scripts#comments PowerShell Get-Command cmdlet Get-Help cmdlet Get-Member cmdlet Mon, 17 Mar 2014 15:08:00 +0000 16701 at http://sqlmag.com Run Your SQL Server DBCCs and Check Your Errorlog with PowerShell http://sqlmag.com/powershell/run-sql-server-dbccs-check-errorlog-with-powershell <div class="node-body article-body">I've got PowerShell scripts for almost all my basic SQL Server management tasks, and DBCC CheckDB is no exception. Learn a quick way to get the recent contents of the error log that are relevant, so you can act on problems quickly.</div> <div class="field-content-focus"> <span>Content Classification:&nbsp;</span> influencer </div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/powershell/run-sql-server-dbccs-check-errorlog-with-powershell" target="_blank">read more</a></p> http://sqlmag.com/powershell/run-sql-server-dbccs-check-errorlog-with-powershell#comments PowerShell Database Administration cmdlet database DBCC CHECKDB error log scripts Server Management Objects SMO Mon, 10 Mar 2014 16:43:00 +0000 16561 at http://sqlmag.com Getting SQL Server Performance Data with PowerShell http://sqlmag.com/powershell/getting-sql-server-performance-data-powershell <div class="node-body article-body">Learn two simple methods for getting SQL Server performance data with PowerShell.</div> <div class="field-content-focus"> <span>Content Classification:&nbsp;</span> influencer </div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/powershell/getting-sql-server-performance-data-powershell" target="_blank">read more</a></p> http://sqlmag.com/powershell/getting-sql-server-performance-data-powershell#comments PowerShell Database Performance Tuning .NET Framework baseline performance data cmdlet counter objects perfmon.exe performance problems Tue, 18 Feb 2014 16:47:00 +0000 16261 at http://sqlmag.com