Script Download: The script is available for download from http://gallery.technet.microsoft.com/How-to-export-all-URLs-of-13033519. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This script sample can get all current url of tabs in Internet Explorer and supports automatically open the last opened urls.
When you opened many tabs in Internet Explorer but need to stop for the day, or maybe you just updated your computer followed by the inevitable 'Restart your computer to finish installing updates' message. At this point, you must close the browser session with gazillion tabs, you have to temporarily record the URL of each IE tabs that you want to open in the next session. We usually manually copy of each tab URL, it's really time-consuming. This script will help users to export all Internet Explorer tabs and tab titles. It's really useful for users.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery
Why don't you just set your settings "start with tabs from last session"?
I know why this is a good idea as IE is not working as expected