A PowerShell Module for Managing Internet Explorer Favorites

As promised, here is my module that I put together to make managing Internet Explorer favorites. The module is called IEFavorites and has 3 functions available:

  • Get-IEFavorite
  • Add-IEFavorite
  • Set-IEFavorite

There are also 4 aliases associated with this module:

  • gief (Get-IEFavorite)
  • aief (Add-IEFavorite)
  • sief (Set-IEFavorite)
  • rief (Remove-Item)

Simply import the module file and you are off and running!

Import-Module .\IEFavorites.psm1 -Verbose


Viewing the favorites can be done like this:



Adding a new Favorite is handled like so:

Add-IEFavorite -Name Twitter -Folder SocialNetwork `
-Url http://twitter.com -Verbose


If I want to remove a favorite, I just pipe my results of Get-IEFavorite into Remove-Item.

Get-IEFavorite -Name Drudge* -File | 
Remove-Item -Verbose


Lastly, editing a favorite is done using Set-IEFavorite:

Get-IEFavorite -Name Twitter* | 
Set-IEFavorite -NewName Facebook -NewUrl http://Facebook.com -Verbose


That is all to the module. Check it out and let me know what you think!

Download IEFavorites


This entry was posted in Modules, powershell and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s