Solved

get list of disks for MS SQL Server instance

Posted on 2013-05-29
4
383 Views
Last Modified: 2013-05-30
Hello,

Is it possible to get of disks for MS SQL Server instance?
If yes, how?

Thanks
0
Comment
Question by:bibi92
  • 3
4 Comments
 
LVL 48

Expert Comment

by:PortletPaul
ID: 39206344
EXEC master..xp_fixeddrives

see:
http://www.stevefibich.net/wordpress/2011/05/05/top-10-obsucre-t-sql-commands/
which also suggests:
EXEC Xp_dirtree ’c:’, 1, 1

which is further explained here
http://www.sql-server-performance.com/2001/extended-stored-procedures/

does this help?
0
 

Author Comment

by:bibi92
ID: 39206740
Hello
Thanks, i Know these commands. I search to get the Disks with powershell command.
0
 
LVL 48

Expert Comment

by:PortletPaul
ID: 39206761
ah, I see - in the topics - probbaly should include that in the question text - anyway:
I can spell powershell, that's about the limit :)
trust someone else will fill in that bit for you. Cheers. Paul
0
 
LVL 48

Accepted Solution

by:
PortletPaul earned 500 total points
ID: 39206765
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Windows Server Update Service (WSUS) is free for everyone, but it lacks of some desirable features like send an e-mail to the administrator with the status of all computers on the WSUS server. This article is based on my PowerShell script …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question