It isn’t outputting anything though I’ve confirmed via the SCCM console that the Device ID is correct and the machine does belong to several collections. I would appreciate some help.
Don, I did try it. There are over 2,000 machines in SCCM. Based on the time the query ran I think it was successful, however, again it didn’t output any information.
Olaf, thank you for the suggestion. I looked into using Get-CMDevice but felt that the WMI Objects were better suited to my needs. I may have to reinvestigate.