SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 disk usage
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

inbs
Aged Yak Warrior

836 Posts

Posted - 11/19/2012 :  02:43:08  Show Profile  Reply with Quote
how can i know by sql

what is the size of my disks in all my servers in the net.
(sql server is not installing in all the servers)

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 11/19/2012 :  02:48:15  Show Profile  Reply with Quote
hmm...do you mean you need to find out disk size of boxes where sql server is not installed by using t-sql?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

inbs
Aged Yak Warrior

836 Posts

Posted - 11/19/2012 :  04:09:46  Show Profile  Reply with Quote
yes, do you know if it possible?
if not, do you know free tool for that?
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 11/20/2012 :  02:44:23  Show Profile  Reply with Quote
quote:
Originally posted by inbs

yes, do you know if it possible?
if not, do you know free tool for that?


why do you need to do it from sql? why cant you use a batch script for that?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

inbs
Aged Yak Warrior

836 Posts

Posted - 11/21/2012 :  16:54:25  Show Profile  Reply with Quote
do you have example of batch?
Go to Top of Page

srimami
Posting Yak Master

160 Posts

Posted - 11/21/2012 :  23:20:46  Show Profile  Reply with Quote
use xp_fixeddrives to find the free disk space; let me know if this is what you are looking for
Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
2067 Posts

Posted - 11/22/2012 :  14:47:30  Show Profile  Visit jackv's Homepage  Reply with Quote
Combine xp_fixeddrives with Powershell and check every SQL Server : http://www.sqlserver-dba.com/2010/05/free-space-on-drives-using-powershell.html

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000