Solved

powershell internet explorer

Posted on 2010-11-15
4
2,093 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
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 …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

829 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