Solved

powershell internet explorer

Posted on 2010-11-15
4
2,056 Views
Last Modified: 2012-08-13
I am running the following command
get-itemproperty -path registry::'HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs'

For the most part this is pulling all of the websites I have been to locally. I am trying to get this for a list of remote computers. I have tried the "-computername name" but this is not working. Is there a way to review remote computers web history with powershell
0
Comment
Question by:tdodd72
  • 3
4 Comments
 
LVL 5

Expert Comment

by:daveTechSearch
ID: 34140381
Unfortunately, you will not be able to run a query against HKCU for a remote system. This must be done from the workstations, with the user logged on.

You might consider appending something like this to log on scripts:
$username >> \\server\share\UserURLs.log
reg query "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs" >> \\server\share\UserURLs.log

If you don`t want to send the data to a shared location you could set it locally and then harvest the data with another method.
0
 
LVL 5

Expert Comment

by:daveTechSearch
ID: 34140388
oops... for regular cmd line change $username to %username%
0
 
LVL 5

Accepted Solution

by:
daveTechSearch earned 500 total points
ID: 34140677
did some more searching.... the answer to your question is on poshcode:
http://poshcode.org/615

... just tried it, and it worked for me.  The only caveat:  somebody needs to be logged onto the remote computer(s) you intend to query.

The script as is will prompt you for a computername, as well as the registry path you wish to query. For the reg path enter the following (no quotes):
HKCU\Software\Microsoft\Internet Explorer\TypedURLs

If you want to hit a series of systems in one run you should be able to modify it quite easily (create array of computers from a txt file)
0
 

Author Closing Comment

by:tdodd72
ID: 34141805
thanks
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

This script checks a path to see if a folder exists. If the folder does exist you will get output "The folder has previously been created. No action taken" If not it will create the folder. Then adds one user modify permission to the folder. It …
A brief introduction to what I consider to be the best editor for PowerShell.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
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…

786 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