This section will mainly concentrates on gathering information and how to get details of devices, users, compliance settings, alerts, and so on. It also demonstrates how to create custom collections, add special configurations to collections, create custom client settings, install client agents, approve agents, and so on.
Getting the collection details from PowerShell is as easy as using the console to get the details. You can use the
Get-CMDeviceCollection cmdlet to get the details of the available collection. We can use the basics by using
Format-Table with the
autosize parameter to get the neat view:
Get-CMDeviceCollection | Format-Table –AutoSize
We can also use the grid view to get the details popped ...