
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>eDiscoverySquad Litigation Support Services &#187; drives</title>
	<atom:link href="http://ediscoverysquad.com/Services/drives/feed/" rel="self" type="application/rss+xml" />
	<link>http://ediscoverysquad.com</link>
	<description>eDiscoverySquad is a litigation technology and service firm that specializes in helping law firms and their clients</description>
	<lastBuildDate>Thu, 24 Aug 2023 21:02:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6</generator>
		<item>
		<title>Free Utility to get an Inventory of Drives attached to a PC, includes source code</title>
		<link>http://ediscoverysquad.com/free-utility-to-get-an-inventory-of-drives-attached-to-a-pc-includes-source-code/</link>
		<comments>http://ediscoverysquad.com/free-utility-to-get-an-inventory-of-drives-attached-to-a-pc-includes-source-code/#comments</comments>
		<pubDate>Wed, 02 Jan 2013 04:50:44 +0000</pubDate>
		<dc:creator>murari</dc:creator>
				<category><![CDATA[Archiving]]></category>
		<category><![CDATA[eDiscovery Security]]></category>
		<category><![CDATA[eDiscoverySquad Consulting]]></category>
		<category><![CDATA[eForensics]]></category>
		<category><![CDATA[attached]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[drives]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[includes]]></category>
		<category><![CDATA[inventory]]></category>
		<category><![CDATA[pc]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[utility]]></category>

		<guid isPermaLink="false">http://ediscoverycloud.net/?p=1024</guid>
		<description><![CDATA[<p>&#160; This is a free utility to take an inventory of drives attached to a PC running Windows.   It can be run from a removable drive, and will make a file name based on the name of the PC, &#8230; <a href="http://ediscoverysquad.com/free-utility-to-get-an-inventory-of-drives-attached-to-a-pc-includes-source-code/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://ediscoverysquad.com/free-utility-to-get-an-inventory-of-drives-attached-to-a-pc-includes-source-code/">Free Utility to get an Inventory of Drives attached to a PC, includes source code</a> appeared first on <a href="http://ediscoverysquad.com">eDiscoverySquad Litigation Support Services</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>&nbsp;</p>
<p>This is a free utility to take an inventory of drives attached to a PC running Windows.   It can be run from a removable drive, and will make a file name based on the name of the PC, and list out all the drives and related information about them.</p>
<p>This can be used to inventory all of the windows PC&#8217;s during a collection to make sure all drives have been copied.</p>
<p>It currently written in C# requires Microsoft .NET to be installed on the PC.   We are working on a c++ version that will not require this.   The next version will also have an option to invoke robocopy and generate a file listing and/or copy the drive to current drive.</p>
<p>Contact us at <a title="contact us for software utility" href="http://ediscoverysquad.com/contact"><strong>support@ediscoverysquad.com</strong></a> to register for updates.</p>
<p>For more about robocopy see our <a title="How To" href="http://ediscoverysquad.com/how-to" target="_blank">http://ediscoverysquad.com/how-to</a></p>
<p>Here is an example of the output of this program.</p>
<p>You can get a copy of the program here:</p>
<p><a title="DiskFinder program" href="http://ediscoverysquad.com/wp-content/uploads/2013/11/DiskFinder_2.zip" target="_blank">http://ediscoverysquad.com/files/DiskFinder.zip</a></p>
<p>This programe is being run from: C:UsersJeffDesktopDiskFinder (2)DiskFinderbinDebug</p>
<p>Computer Name: JEFF-PC<br />
Number of Drives: 6<br />
Drive &#8211; C:<br />
Drive Type: Fixed<br />
Drive Ready Status: True<br />
Volume Label: Boot Drive<br />
File System Type : NTFS<br />
Free Space: 30021926912<br />
Total Drive Size: 240055742464</p>
<p>Drive &#8211; D:<br />
Drive Type: Fixed<br />
Drive Ready Status: True<br />
Volume Label: Application Data<br />
File System Type : NTFS<br />
Free Space: 42462507008<br />
Total Drive Size: 240054693888</p>
<p>Drive &#8211; E:<br />
Drive Type: Fixed<br />
Drive Ready Status: True<br />
Volume Label: Output Processing<br />
File System Type : NTFS<br />
Free Space: 75996823552<br />
Total Drive Size: 480101003264</p>
<p>Drive &#8211; F:<br />
Drive Type: Fixed<br />
Drive Ready Status: True<br />
Volume Label: Temporary File Storage<br />
File System Type : NTFS<br />
Free Space: 50895007744<br />
Total Drive Size: 500104687616</p>
<p>Drive &#8211; G:<br />
Drive Type: Fixed<br />
Drive Ready Status: True<br />
Volume Label: Output Processing Drive 2<br />
File System Type : NTFS<br />
Free Space: 144843849728<br />
Total Drive Size: 480101003264</p>
<p>Drive &#8211; H:<br />
Drive Type: CDRom<br />
Drive Ready Status: True<br />
Volume Label: F9L1002v1<br />
File System Type : UDF<br />
Free Space: 0<br />
Total Drive Size: 57573376</p>
<p>Here is the source code for the program:</p>
<p>/*</p>
<p>* copyright (c) 2012, 2013, eDiscoverySquad, LLC.<br />
* All Rights Reserved<br />
*<br />
* Date created: December 23rd, 2012<br />
*<br />
* DiskFinder.cs<br />
*<br />
* Author(s): Paul Aquino, Jeffrey Goodwin<br />
*<br />
*<br />
*<br />
* This library is free software; you can redistribute it and/or<br />
* modify it under the terms of the GNU Library General Public<br />
* License as published by the Free Software Foundation; either<br />
* version 2 of the License, or (at your option) any later version.<br />
*<br />
* This library is distributed in the hope that it will be useful,<br />
* but WITHOUT ANY WARRANTY; without even the implied warranty of<br />
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU<br />
* Library General Public License for more details.<br />
*<br />
*<br />
* Notwithstanding the foregoing, you must:<br />
*<br />
* a) register to use this software by sending an email to: support@ediscoverysquad.com, and include the site description of where the software will be used<br />
*<br />
* b) Maintain eDiscoverySquad, LLC copyright notice and credit for the user of the program<br />
*<br />
* In order to use the program, you need to download Microsoft .NET 3.5 or later. Note, that we are working on a version of this program which does not require Microsoft .NET.<br />
* Please contact us if you need this version.<br />
*<br />
*/</p>
<p>using System;<br />
using System.IO;<br />
/*<br />
&lt;summary&gt;<br />
A console program that is intended to run from an external drive which is attached to a PC. The program will record system information including the following:<br />
* The computer name<br />
* The number of drives in the system<br />
* The file system type for each drive<br />
* The properties of each drive, e.g., size, number of files, and space allocation<br />
*<br />
&lt;/summary&gt;<br />
*/<br />
public class DiskFinder<br />
{</p>
<p>/* &lt;summary&gt;<br />
* The programs&#8217; central point of control.<br />
* There are no input arguments.<br />
* &lt;/summary&gt;<br />
*/</p>
<p>public static void Main(string[] args)<br />
{<br />
/*<br />
* Get computer drives info. This builds an array that contains the total number of drives, and characterizes the type of file system on each drive.<br />
*<br />
*/</p>
<p>DriveInfo[] mySystemDrives = DriveInfo.GetDrives();</p>
<p>/*<br />
* Write the Drive Information to the output file<br />
*/</p>
<p>WriteDrives(mySystemDrives);</p>
<p>} /* end of program */<br />
/* &lt;summary&gt;</p>
<p>* WriteDrive method writes local drives information to the text file.</p>
<p>* Input Parameter: &lt;param name=&#8221;my_driv&#8221;&gt; Array of type DriveInfo that represents the logical drives on a computer.&lt;/param&gt;</p>
<p>* Return Value: None</p>
<p>* &lt;/summary&gt;</p>
<p>*/</p>
<p>public static void WriteDrives(DriveInfo[] my_driv)<br />
{</p>
<p>/*<br />
* Define output file name listing to be concatenated to computer name for the purpose of output file naming convention<br />
*/<br />
string OutputFileListingSuffix = &#8221; DriveListing.txt&#8221;;</p>
<p>/*<br />
* Define Text Labels to be used for entries written to the information file listing<br />
*/</p>
<p>string DriveIDLabel = &#8220;Drive &#8211; &#8220;;<br />
string FileSystemTypeLabel = &#8220;File System Type : &#8220;;<br />
string ComputerNameLabel = &#8220;Computer Name: &#8220;;<br />
string NumberofDrivesLabel = &#8220;Number of Drives: &#8220;;<br />
string DriveTypeLabel = &#8220;Drive Type: &#8220;;<br />
string VolumeLabel = &#8220;Volume Label: &#8220;;<br />
string FreeSpaceLabel = &#8220;Free Space: &#8220;;<br />
string TotalDriveSizeLabel = &#8220;Total Drive Size: &#8220;;<br />
string CurrentDriveLabel = &#8220;This programe is being run from: &#8220;;<br />
string IsReadyLabel = &#8220;Drive Ready Status: &#8220;;</p>
<p>/*<br />
* Set up and open target text file. Replace pathName in StreamWriter(&#8220;pathName&#8221;) to your target text file.<br />
*/<br />
System.IO.StreamWriter targetFile = new System.IO.StreamWriter(Environment.MachineName + OutputFileListingSuffix);<br />
/*<br />
* Write current drive and directory to output file<br />
*/</p>
<p>targetFile.WriteLine(CurrentDriveLabel + Environment.CurrentDirectory);</p>
<p>/*<br />
* Writing local computer name and number of local drives.<br />
*/<br />
targetFile.WriteLine(ComputerNameLabel + Environment.MachineName);</p>
<p>targetFile.WriteLine(NumberofDrivesLabel + my_driv.Length);<br />
/*<br />
* put an extra line between each drive information listing<br />
*/</p>
<p>targetFile.WriteLine(&#8220;n&#8221;);</p>
<p>/*<br />
* Traverses each drive in the drives array and writes drive name and format to results.txt.<br />
*/</p>
<p>foreach (DriveInfo d in my_driv)<br />
{<br />
try<br />
{<br />
/*<br />
* Write the Drive Name<br />
*/</p>
<p>targetFile.WriteLine(DriveIDLabel + d.Name);</p>
<p>/*<br />
* Write the Drive Type, e.g. Fixed, DVD, etc.<br />
*/</p>
<p>targetFile.WriteLine(DriveTypeLabel + d.DriveType);</p>
<p>/*<br />
* Is Ready Status<br />
*/</p>
<p>targetFile.WriteLine(IsReadyLabel + d.IsReady);</p>
<p>&nbsp;</p>
<p>/*<br />
* Write the Volume Label<br />
*/</p>
<p>targetFile.WriteLine(VolumeLabel + d.VolumeLabel);<br />
/*<br />
* Write the File System Type, e.g. NTFS, FAT, UDF (DVD drive)<br />
*/</p>
<p>targetFile.WriteLine(FileSystemTypeLabel + d.DriveFormat);<br />
/*<br />
* Write the drive space information<br />
*/</p>
<p>targetFile.WriteLine(FreeSpaceLabel + d.TotalFreeSpace);</p>
<p>targetFile.WriteLine(TotalDriveSizeLabel + d.TotalSize);<br />
/*<br />
* put an extra line between each drive information listing<br />
*/</p>
<p>targetFile.WriteLine(&#8220;n&#8221;);<br />
}<br />
catch {<br />
targetFile.WriteLine(&#8220;exception encountered&#8221;);<br />
}<br />
} /* end for */</p>
<p>/*<br />
* close the file handle<br />
*/</p>
<p>targetFile.Close();</p>
<p>&nbsp;</p>
<p>} /* end of WriteDrives() */<br />
} /* end of DiskFinder class */</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="http://ediscoverysquad.com/free-utility-to-get-an-inventory-of-drives-attached-to-a-pc-includes-source-code/">Free Utility to get an Inventory of Drives attached to a PC, includes source code</a> appeared first on <a href="http://ediscoverysquad.com">eDiscoverySquad Litigation Support Services</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://ediscoverysquad.com/free-utility-to-get-an-inventory-of-drives-attached-to-a-pc-includes-source-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

 Served from: ediscoverysquad.com @ 2026-04-29 17:14:30 by W3 Total Cache -->