Microsoft System Center | Other
Additional System Center tools and components for managing infrastructure, applications, and services
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
$AppName = "Avaya Workplace 3.40.1.10 V1"
$Collection = "Avaya Workplace 3.40.1.10 V1-install (device)"
$CimSession = New-CimSession `
-ComputerName $ProviderMachineName `
-Credential $Credl
$a = Get-CimInstance `
-Namespace 'root\SMS\site_PRI' `
-CimSession $CimSession `
-Query "Select * FROM SMS_AppDeploymentAssetDetails WHERE CollectionName = '$Collection'"
$a | Select-Object AppStatusType -Unique
AppStatusType
2
1
```I dont see the unknown??? want to query so i get the device also above give me but only status 1,2
1 = Success 2 = InProgress 3 = RequirementsNotMet 4 = Unknown 5 = Error
code based of [https://gist.github.com/Graham-Beer/4c66ceb5340f85a2acf664be466d8b63](https://gist.github.com/Graham-Beer/4c66ceb5340f85a2acf664be466d8b63)
This is from sccm

```sql
I dont see the unknown??? want to query so i get the device also above give me but only status 1,2
1 = Success 2 = InProgress 3 = RequirementsNotMet 4 = Unknown 5 = Error
code based of https://gist.github.com/Graham-Beer/4c66ceb5340f85a2acf664be466d8b63
From sccm console i see this
Additional System Center tools and components for managing infrastructure, applications, and services