"Microsoft.DevicesAndPrinters" report

Is there a PowerShell script to output the items located in this control panel item? 


I need a report of devices by container instead of Get-Pnpdevice 



1 comment
Date Votes
  • I'm not aware of a PowerShell command to query a control panel item. What do you mean by "devices by container" and is there something in the output of Get-PnPDevice that isn't helpful or expected? 

    What is the core problem/question that you are hoping to solve/answer with this report? There may be another way to accomplish what you are trying to do other than querying the control panel item. Depending on what you are trying to do Get-PnPDevice, querying the registry, get-ciminstance, or some other command may be needed to return what you are looking for.


Please sign in to leave a comment.

Didn't find what you were looking for?

New post