Q: Mark all feeds as Read

Recently in my free time, I’ve tried looking for way to use Powershell to set all my subscriber RSS feeds as read. The case is, I doesn’t read all the feed everytime. Sometimes, I’ve also read it in my other device. In this case, I need a one-click solution to mark all of them as Read.

Popping up Live Mail and mark all as read on the Unread Feeds works, but not really one-click solution.

Anyone know the script I can use ? Especially what attribute or method can be used to set the feeds’ read status ?

This is what I tried. But I think the last line is wrong.


cls
$fm = new-object -comObject "Microsoft.FeedsManager"
$fu = $fm.rootFolder.subFolders | %{ ($_.Feeds) }
$fui = $fu | %{ ($_.Items) } | where { ($_.IsRead) -lt 1 }
foreach ($_ in $fui) { $_.IsRead = 1 }

 

Windows Live Tags: powershell, question, rss platform
Advertisements

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 )

Google+ photo

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

Connecting to %s