OperatingSystemNameandVersion : Microsoft Windows NT Workstation 10. Get-CMDevice -CollectionID "XYZ0004B" -Resource | Select-Object Name, ClientVersion, OperatingSystemNameandVersion, Active, AgentName, AgentTime When it queries a different class, it returns different properties for similar data. This command is similar to the first example, but uses the -Resource parameter. LastPolicyRequest : 00:31:54 Example 2: Get device resources by collection ID Get-CMDevice -CollectionID "XYZ0004B" | Select-Object Name, ClientVersion, DeviceOS, IsActive, LastActiveTime, LastClientCheckTime, LastDDR, LastHardwareScan, LastPolicyRequestÄeviceOS : Microsoft Windows NT Workstation 10.0 (Tablet Edition) Click Activate, and wait until the process completes. If you purchased the license directly from Antares, go to Manage Licenses to find the available license for activation. It uses the Select-Object cmdlet to only display specific properties. Enter your email address and password in the Antares Central app to log in to your Antares account. This command gets all the device objects in the device collection with the ID of XYZ0004B. Examples Example 1: Get devices by collection ID For more information, see getting started. ![]() Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For example, if you don't have access to SMS00001, then by default this cmdlet returns zero results. Depending upon your role-based access in the site, you may need to use one of these other parameters. You can use the Resource or CollectionMember parameters to change the query class. ![]() By default it queries the SMS_CM_RES_COLL_SMS00001 class. ![]() The Get-CMDevice cmdlet gets a Configuration Manager device.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |