How to add computers listed in a text file to a collection

Using the new ConfigMgr 2012 PowerShell cmdlets, there are three different ways to add computers to a device collection.  Just like in the console, you can add computers via a direct membership rule (Add-CMDeviceCollectionMembershipRule), a query membership rule (Add-CMDeviceCollectionQueryMembershipRule) and also an include collection membership rule (Add-CMDeviceCollectionIncludeMembershipRule).  In order to use these cmdlets, the collection…