Warning: session_start() expects parameter 1 to be array, string given in /home/sqlthoug/public_html/blog/wp-includes/class-wp-hook.php on line 341

Warning: Cannot modify header information - headers already sent by (output started at /home/sqlthoug/public_html/blog/wp-includes/class-wp-hook.php:341) in /home/sqlthoug/public_html/blog/wp-includes/feed-rss2-comments.php on line 8
Comments on: xp_fixeddrives ignores SAN mount points https://blog.sqlthoughts.com/2013/12/27/xp_fixeddrives-ignores-san-mount-points/ sqlthoughts.com Mon, 29 Jul 2019 15:09:11 +0000 hourly 1 https://wordpress.org/?v=6.9.4 By: Tim Bissonette https://blog.sqlthoughts.com/2013/12/27/xp_fixeddrives-ignores-san-mount-points/#comment-23686 Mon, 29 Jul 2019 15:09:11 +0000 http://blog.sqlthoughts.com/?p=329#comment-23686 Thanks for the Write up!
“EXEC xp_cmdshell ‘Powershell.exe “Get-WMIObject Win32_LogicalDisk -filter “DriveType=3″| Format-Table DeviceID, FreeSpace, Size”‘ ;”
The particular code will not get your Mount points… You would need to use EXEC xp_cmdshell ‘Powershell.exe “Get-WMIObject Win32_VOLUME | Format-Table NAME, Label, Freespace, Capacity”‘ ;

]]>