Solved

powershell internet explorer

Posted on 2010-11-15
4
2,146 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

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

Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

718 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