PowerShell's Read-Host command can help you collect information from a user input. This simple script:


#region Read-Host

$CaseIndex = Read-Host -Prompt 'What is the case index number?'

$CaseIndex

#endregion


. . . will collect the information for the value $CaseIndex. Press the play button on the upper toolbar to run the script. The question listed after '-Prompt' will be presented to the user, and the answer will be saved as $CaseIndex. When $CaseIndex is entered in PowerShell again, the user entered value will be given.







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:


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





The ABBYY FineReader OCR software includes a great little tool that you can use to quickly grab the text of areas on your screen that aren't normally selectable. ABBYY Screenshot Reader will let you select any displayed area, and click and drag to capture a OCR version of the contents.



The results can be sent directly to your clipboard, Word, Excel, or a new file. This little utility can also capture the text of an entire screen or window.


Sean O'Shea has more than 15 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.

 

All content provided on this blog is for informational purposes only. The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of this information.

 

This policy is subject to change at any time.

 

Contact Me With Your Litigation Support Questions:

seankevinoshea@hotmail.com

  • Twitter Long Shadow

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