SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Scripts with tag xp_cmdshell Rss

Search for any content tagged xp_cmdshell

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Add a script

   Items 1 to 4 of 4   

Check if xp_cmdshell is turned on and flip the bit

The code works well for an automation process that needs to have xp_cmdhsell turned on.  Read more...
By Edward Pochinski 2017/02/22 | Source: SQLServerCentral.com | Category: xp_cmdshell
Rating: (not yet rated) |  Discuss |   Briefcase | 301 reads

Disk Capacities

Provides information on the total and used space for all drives on an instance.  Read more...
By Nicholas Williams 2013/12/06 | Source: SQLServerCentral.com | Category: disk
Rating: |  Discuss |   Briefcase | 4,607 reads

Deleting old files (with/without archive bit)

A hopefully useful script to delete old files, not just backups, and make use of the archive bit.  Read more...
By Gaby Abed 2009/01/01 | Source: SQLServerCentral.com | Category: archiving data
Rating: |  Discuss |   Briefcase | 1,950 reads

Find Large Files on OS - Results of DIR to Table

Put results of DIR command into a table. 
By Congruent Influence 2008/07/23 | Source: SQLServerCentral.com | Category: directory
Rating: |  Discuss |   Briefcase | 1,187 reads
   Items 1 to 4 of 4