エンドポイント保護エージェントのステータスは SMS_G_System_EPDeploymentState ビューに格納されていますが、このクエリのポイントは DeploymentState フィールドでのフィルタリングです。以下のクエリは、Configuration Manager で完全に管理されていないすべてのマシンを返します。select SMS_R_System.Name, SMS_G_System_EPDeploymentState.DeploymentState, SMS_R_System.Active, SMS_R_System.ADSiteName, SMS_R_System.IPSubnets, SMS_R_System.IPAddresses, SMS_R_System.SystemOUName from SMS_R_System inner join SMS_G_System_EPDeploymentState on SMS_G_System_EPDeploymentState.ResourceID = SMS_R_System.ResourceId where SMS_G_System_EPDeploymentState.DeploymentState != 3理解しておくべきなのは DeploymentState 列の各値の意味で、値 3 だけが真の成功状態です。各値は以下の通りです:1 - 未管理2 - インストール待ち3 - 管理済み (成功)4 - 失敗5 - 再起動保留中快適なレポート作成を!