Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

powershell internet explorer

Posted on 2010-11-15
4
Medium Priority
?
2,219 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 2000 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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  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 article will help you understand what HashTables are and how to use them in PowerShell.
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 …
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

604 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