Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

"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 

0

Comments

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.

    0