Jump to content

SCCM - Querying Device compliance via powershell


raivivan

Recommended Posts

Any SCCM experts out there, can help on what I am doing wrong. I am trying (via PowerShell) to get a list of devices that are not compliant. We have a PowerShell script setup which performs the compliance check on the clients. And within the GUI, I can see the list of compliant and non compliant client device names.

I am struggling to get a list of these devices though via powershell. I can see the total number non-compliant, but see no way to export the list of the devices names themselves.

So this works to get the count of devices compliant for example, but how do I get a list of the device names themselves? Am Totally Stumped..

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.