sccmentor.com
Find Collection Membership for a Device with PowerShell
Here’s a nice piece of PowerShell that will quickly tell you what collections a device is a member of. Replace siteserver, sitecode and hostname with the relevant details. Hostname is obvious…