top of page

Note that you can run a PowerShell script to get a list of all of the hyperlinks on a web page. On any PC running Windows 10, open PowerShell ISE, and simply put this script:


(Invoke-WebRequest -Uri “https://www.supremecourt.gov/opinions/slipopinion/20”).Links | sort-object href -Unique | Format-List innerText, href


. . . in the Script Pane, the white area on the top. (Display this area under the View menu, if you don't see it after opening PowerShell.) The actual web address, as you can see, is entered after '-Uri' in double quotes.


So from this web page:

ree

. . . we get these results after pressing the play button on the toolbar in PowerShell.


ree



 
 

In order for RelativityOne to transfer data from a user's computer to Relativity server, it must be able to use multiple UDP ports to transfer data via the Fast Adaptive and Secure Protocol (FASP), which uses Port 33001. In order to see if a network is configured to transmit data to a fully qualified domain name via the FASP port run this PowerShell script:


Test-NetConnection -ComputerName [FQDN] -Port 33001


ree


. . . FQDN being the fully qualified domain name. If a domain can be reached the value listed for the 'PingSucceeded' value will be true. If the specified port can be accessed then TcpTestSucceeded will also be true.




 
 

You can use the below PowerShell script to compare the hash values of multiple pairs of files.


Begin by giving each path for each file in your data set a unique name.

$file1 = "C:\foofolder\set1\analysis.xlsx”

$file2 = "C:\foofolder\set2\analysis.xlsx"

$file3 = "C:\foofolder\set1\Memo.docx”

$file4 = "C:\foofolder\set2\Memo.docx"

$file5 = "C:\foofolder\set1\Show1.pptx”

$file6 = "C:\foofolder\set2\Show1v2.pptx"


. . . then prepare lines comparing the hash of the first file to the second file:


if((Get-FileHash $file1).hash -ne (Get-FileHash $file2).hash)


. . . . you can parse through your data on an Excel spreadsheet like this:



ree

. . . using a formula to number the files side by side. Copy the lines to a text editor and remove the resulting tabs, putting each line of script on a new line as necessary.


The script will give you a list of which files are same and which are different in the same order in which they are listed in the script.



ree


$file1 = "C:\foofolder\set1\analysis.xlsx”

$file2 = "C:\foofolder\set2\analysis.xlsx"

$file3 = "C:\foofolder\set1\Memo.docx”

$file4 = "C:\foofolder\set2\Memo.docx"

$file5 = "C:\foofolder\set1\Show1.pptx”

$file6 = "C:\foofolder\set2\Show1v2.pptx"

if((Get-FileHash $file1).hash -ne (Get-FileHash $file2).hash)

{“files are different”}

Else {“Files are the same”}

if((Get-FileHash $file3).hash -ne (Get-FileHash $file4).hash)

{“files are different”}

Else {“Files are the same”}

if((Get-FileHash $file5).hash -ne (Get-FileHash $file6).hash)

{“files are different”}

Else {“Files are the same”}



See the post by Dr. Scripto here.

 
 

Sean O'Shea has more than 20 years of experience in the litigation support field with major law firms in New York and San Francisco.   He is an ACEDS Certified eDiscovery Specialist and a Relativity Certified Administrator.

The views expressed in this blog are those of the owner and do not reflect the views or opinions of the owner’s employer.

If you have a question or comment about this blog, please make a submission using the form to the right. 

Your details were sent successfully!

© 2015 by Sean O'Shea . Proudly created with Wix.com

bottom of page