Solved

powershell internet explorer

Posted on 2010-11-15
4
1,997 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Microsoft Windows Server Update Service (WSUS) is free for everyone, but it lacks of some desirable features like send an e-mail to the administrator with the status of all computers on the WSUS server. This article is based on my PowerShell script …
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

746 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now