Listing Internet Explorer Cookies

by Aug 13, 2010

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!