Listing Internet Explorer Cookies

Have you ever wanted to find out who stored your information while you were surfing the Web? Check out your cookies folder:

Dir ([Environment]::GetFolderPath("Cookies"))

You should try this to open that folder in your Explorer:

Explorer ([Environment]::GetFolderPath("Cookies"))

And if you'd like, you could also select cookies based on content. The next line lists all cookies that contain the word "prefbin:”

Dir ([Environment]::GetFolderPath("Cookies")) | Select-String prefbin -List

Twitter This Tip! ReTweet this Tip!


Posted Aug 13 2010, 08:00 AM by ps1
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.