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 21 to 40 of 169    Next 20 >>
 

A Month of PowerShell – Day 13 (Databases: Adding Schemas, Tables and Indexes)

Welcome to Day 13 of my “A Month of PowerShell” series. This series will use the series landing page on...  Read more...
By Wayne Sheffield 2013/02/20 | Source: SQLServerCentral.com | Category: blogs
Rating: (not yet rated) |  Discuss |   Briefcase | 1,722 reads

A Month of PowerShell – Day 10 (Navigating SMO collections)

Welcome to Day 10 of my “A Month of PowerShell” series. This series will use the series landing page on...  Read more...
By Wayne Sheffield 2013/02/13 | Source: SQLServerCentral.com | Category: blogs
Rating: (not yet rated) |  Discuss |   Briefcase | 1,395 reads

Invitation for T-SQL Tuesday #39 – Can you shell what the PoSH is Cooking?

T-SQL Tuesday Party History In case you’ve been hiding out in the desert, oblivious to all that goes on, there is...  Read more...
By Wayne Sheffield 2013/02/08 | Source: SQLServerCentral.com | Category: blogs
Rating: (not yet rated) |  Discuss |   Briefcase | 619 reads

Powershell - Export Stored Proc results to CSV file

This Powershell script calls a stored procedure and exports the results to a CSV file  Read more...
By Mandeep Dulai 2013/02/05 | Source: SQLServerCentral.com | Category: powershell
Rating: |  Discuss |   Briefcase | 1,037 reads

SQL Server 2012 Integration Services - Introduction to Managing SQL Server with PowerShell

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.  Read more...
By Additional Articles 2013/01/31 | Source: Database Journal | Category: powershell
Rating: (not yet rated)  Rate this |   Briefcase | 2,676 reads

The PoSh DBA: Solutions using PowerShell and SQL Server

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.  Read more...
By Additional Articles 2012/10/29 | Source: SimpleTalk | Category: powershell
Rating:  Rate this |   Briefcase | 2,698 reads

Stairway to SQL PowerShell Level 4: Objects in SQL PowerShell

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.  Read more...
By Ben Miller 2012/10/22 | Source: SQLServerCentral.com | Category: stairway series
Rating: |  Discuss |   Briefcase | 4,789 reads

Manage By Delegation

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.  Read more...
By Steve Jones 2012/10/17 | Source: SQLServerCentral.com | Category: editorial
Rating: (not yet rated) |  Discuss |   Briefcase | 112 reads

Check SQL Server Virtual Log Files Using PowerShell

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?   Read more...
By Additional Articles 2012/10/11 | Source: MSSQLTips.com | Category: administration
Rating:  Rate this |   Briefcase | 2,708 reads

PowerShell script to find files that are consuming the most disk space

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.   Read more...
By Additional Articles 2012/10/10 | Source: MSSQLTips.com | Category: powershell
Rating:  Rate this |   Briefcase | 2,985 reads

Practical PowerShell for SQL Server Developers and DBAs – Part 2

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.  Read more...
By Additional Articles 2012/09/07 | Source: SimpleTalk | Category: powershell
Rating: (not yet rated)  Rate this |   Briefcase | 2,562 reads

PowerShell: Redirecting Console Output and Error Output to a Variable and E-mailing it

I recently had the need to script the execution of a command-line utility and thought it would be a good...  Read more...
By nycdotnet 2012/08/29 | Source: SQLServerCentral.com | Category: blogs
Rating: (not yet rated) |  Discuss |   Briefcase | 2,163 reads

Stairway to SQL PowerShell Level 3: Input and Output with PowerShell

This level will cover some of the Input/Output operations you can use with PowerShell.   Read more...
By Ben Miller 2012/08/29 | Source: SQLServerCentral.com | Category: stairway series
Rating: |  Discuss |   Briefcase | 6,592 reads

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,052 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,735 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,144 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 | 786 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,575 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,852 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,439 reads
<< Previous 20    Items 21 to 40 of 169    Next 20 >>
 
Tags
blogs (32)    
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)    
oracle (3)    
partitioning (3)    
reporting services (ssrs) (3)    
sql agent (3)    
database (2)    
dimensions (2)    
disk space (2)    
extract, transform, load (etl) (2)    
integration services (ssis) (2)    
perfmon (2)    
policy based management (pbm) (2)    
restore (2)    
script (2)    
transaction logs (2)    
webinar (2)    
windows 2008 r2 (2)    
windows 2012 (2)    
auditing (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)    
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 2008 (1)    
sql alerts (1)    
sql compare (1)    
sql discovery (1)    
sql job (1)    
sql jobs (1)    
sql server 2008 (1)    
sql server 2012 (1)    
sql server 7 (1)    
sql server cluster (1)    
sql server powershell (1)    
sqlcmd (1)    
sqljob (1)    
sqljobs (1)    
string manipulation (1)    
trending (1)    
troubleshooting (1)    
t-sql (1)    
twitter (1)    
unattended install (1)    
wmi events queries (1)    
xmla (1)