Skip to content

Available SCCM SQL Views

All Machines (v_GS_COMPUTER_SYSTEM)

Lists information about the Configuration Manager clients, including domain, computer name, Configuration Manager roles, status, system type, and more.

SQL VIEWSCOLUMN_NAMEDATA_TYPE
v_GS_COMPUTER_SYSTEMAdminPasswordStatus0int
v_GS_COMPUTER_SYSTEMAgentIDint
v_GS_COMPUTER_SYSTEMAutomaticResetBootOption0int
v_GS_COMPUTER_SYSTEMAutomaticResetCapability0int
v_GS_COMPUTER_SYSTEMBootOptionOnLimit0int
v_GS_COMPUTER_SYSTEMBootOptionOnWatchDog0int
v_GS_COMPUTER_SYSTEMBootROMSupported0int
v_GS_COMPUTER_SYSTEMBootupState0nvarchar
v_GS_COMPUTER_SYSTEMCaption0nvarchar
v_GS_COMPUTER_SYSTEMChassisBootupState0int
v_GS_COMPUTER_SYSTEMCurrentTimeZone0int
v_GS_COMPUTER_SYSTEMDaylightInEffect0int
v_GS_COMPUTER_SYSTEMDescription0nvarchar
v_GS_COMPUTER_SYSTEMDomain0nvarchar
v_GS_COMPUTER_SYSTEMDomainRole0int
v_GS_COMPUTER_SYSTEMFrontPanelResetStatus0int
v_GS_COMPUTER_SYSTEMGroupIDint
v_GS_COMPUTER_SYSTEMPauseAfterReset0nvarchar
v_GS_COMPUTER_SYSTEMPowerManagementCapabilities0nvarchar
v_GS_COMPUTER_SYSTEMPowerManagementSupported0int
v_GS_COMPUTER_SYSTEMPowerOnPasswordStatus0int
v_GS_COMPUTER_SYSTEMPowerState0int
v_GS_COMPUTER_SYSTEMPowerSupplyState0int
v_GS_COMPUTER_SYSTEMPrimaryOwnerContact0nvarchar
v_GS_COMPUTER_SYSTEMPrimaryOwnerName0nvarchar
v_GS_COMPUTER_SYSTEMResetCapability0int
v_GS_COMPUTER_SYSTEMResetCount0int
v_GS_COMPUTER_SYSTEMResetLimit0int
v_GS_COMPUTER_SYSTEMResourceIDint
v_GS_COMPUTER_SYSTEMRevisionIDint
v_GS_COMPUTER_SYSTEMRoles0nvarchar
v_GS_COMPUTER_SYSTEMStatus0nvarchar
v_GS_COMPUTER_SYSTEMInfraredSupported0int
v_GS_COMPUTER_SYSTEMSupportContactDescription0nvarchar
v_GS_COMPUTER_SYSTEMSystemStartupDelay0int
v_GS_COMPUTER_SYSTEMSystemStartupOptions0nvarchar
v_GS_COMPUTER_SYSTEMSystemStartupSetting0int
v_GS_COMPUTER_SYSTEMSystemType0nvarchar
v_GS_COMPUTER_SYSTEMThermalState0int
v_GS_COMPUTER_SYSTEMTimeStampdatetime
v_GS_COMPUTER_SYSTEMTotalPhysicalMemory0bigint
v_GS_COMPUTER_SYSTEMUserName0nvarchar
v_GS_COMPUTER_SYSTEMWakeUpType0int
v_GS_COMPUTER_SYSTEMInitialLoadInfo0nvarchar
v_GS_COMPUTER_SYSTEMInstallDate0datetime
v_GS_COMPUTER_SYSTEMKeyboardPasswordStatus0int
v_GS_COMPUTER_SYSTEMLastLoadInfo0nvarchar
v_GS_COMPUTER_SYSTEMManufacturer0nvarchar
v_GS_COMPUTER_SYSTEMModel0nvarchar
v_GS_COMPUTER_SYSTEMName0nvarchar
v_GS_COMPUTER_SYSTEMNameFormat0nvarchar
v_GS_COMPUTER_SYSTEMNetworkServerModeEnabled0int
v_GS_COMPUTER_SYSTEMNumberOfProcessors0int
v_GS_COMPUTER_SYSTEMOEMLogoBitmap0nvarchar
v_GS_COMPUTER_SYSTEMOEMStringArray0nvarchar

All Machines (v_GS_PC_Bios)

Lists information about the BIOS found on Configuration Manager clients.

SQL VIEWSCOLUMN_NAMEDATA_TYPE
v_GS_PC_BIOSAgentIDint
v_GS_PC_BIOSBiosCharacteristics0nvarchar
v_GS_PC_BIOSBiosVersion0nvarchar
v_GS_PC_BIOSBuildNumber0nvarchar
v_GS_PC_BIOSCaption0nvarchar
v_GS_PC_BIOSCodeSet0nvarchar
v_GS_PC_BIOSCurrentLanguage0nvarchar
v_GS_PC_BIOSDescription0nvarchar
v_GS_PC_BIOSGroupIDint
v_GS_PC_BIOSIdentificationCode0nvarchar
v_GS_PC_BIOSInstallableLanguages0int
v_GS_PC_BIOSInstallDate0datetime
v_GS_PC_BIOSLanguageEdition0nvarchar
v_GS_PC_BIOSListOfLanguages0nvarchar
v_GS_PC_BIOSManufacturer0nvarchar
v_GS_PC_BIOSName0nvarchar
v_GS_PC_BIOSOtherTargetOS0nvarchar
v_GS_PC_BIOSPrimaryBIOS0int
v_GS_PC_BIOSReleaseDate0datetime
v_GS_PC_BIOSResourceIDint
v_GS_PC_BIOSRevisionIDint
v_GS_PC_BIOSSerialNumber0nvarchar
v_GS_PC_BIOSSMBIOSBIOSVersion0nvarchar
v_GS_PC_BIOSSMBIOSMajorVersion0int
v_GS_PC_BIOSSMBIOSMinorVersion0int
v_GS_PC_BIOSSMBIOSPresent0int
v_GS_PC_BIOSSoftwareElementID0nvarchar
v_GS_PC_BIOSSoftwareElementState0int
v_GS_PC_BIOSStatus0nvarchar
v_GS_PC_BIOSTargetOperatingSystem0int
v_GS_PC_BIOSTimeStampdatetime
v_GS_PC_BIOSVersion0nvarchar

All Machines (v_R_system: Asset Type)

Provides various system details, including IDs, status, and specifications.

SQL VIEWSCOLUMN_NAMEDATA_TYPE
v_R_SystemAADDeviceIDuniqueidentifier
v_R_SystemAADTenantIDuniqueidentifier
v_R_SystemActive0int
v_R_SystemAD_Site_Name0nvarchar
v_R_SystemAgentEdition0int
v_R_SystemAlwaysInternet0int
v_R_SystemAMTFullVersion0nvarchar
v_R_SystemAMTStatus0int
v_R_SystemBuild01nvarchar
v_R_SystemBuildExtnvarchar
v_R_SystemClient_Type0int
v_R_SystemClient_Version0nvarchar
v_R_SystemClient0int
v_R_SystemCommunity_Name0nvarchar
v_R_SystemCPUType0nvarchar
v_R_SystemCreation_Date0datetime
v_R_SystemDecommissioned0int
v_R_SystemDeviceOwner0int
v_R_SystemDistinguished_Name0nvarchar
v_R_SystemDNSForestGuiduniqueidentifier
v_R_SystemEAS_DeviceIDnvarchar
v_R_SystemFull_Domain_Name0nvarchar
v_R_SystemHardware_ID0nvarchar
v_R_SystemInternetEnabled0int
v_R_SystemIs_AOAC_Capable0bit
v_R_SystemIs_Assigned_To_User0bit
v_R_SystemIs_MachineChanges_Persisted0bit
v_R_SystemIs_Portable_Operating_System0bit
v_R_SystemIs_Virtual_Machine0bit
v_R_SystemIs_Write_Filter_Capable0bit
v_R_SystemIsClientAMT30Compatible0bit
v_R_SystemLast_Logon_Timestamp0datetime
v_R_SystemManagementAuthorityint
v_R_SystemMDMDeviceCategoryID0nvarchar
v_R_SystemMDMStatusnvarchar
v_R_SystemName0nvarchar
v_R_SystemNetbios_Name0nvarchar
v_R_SystemObject_GUID0varbinary
v_R_SystemObsolete0int
v_R_SystemOperating_System_Name_and0nvarchar
v_R_SystemOSBranch01nvarchar
v_R_SystemPrevious_SMS_UUID0nvarchar
v_R_SystemPrimary_Group_ID0int
v_R_SystemPublisherDeviceIDnvarchar
v_R_SystemResource_Domain_OR_Workgr0nvarchar
v_R_SystemResourceIDint
v_R_SystemResourceTypeint
v_R_SystemSerialNumbernvarchar
v_R_SystemSID0nvarchar
v_R_SystemSMBIOS_GUID0nvarchar
v_R_SystemSMS_Unique_Identifier0nvarchar
v_R_SystemSMS_UUID_Change_Date0datetime
v_R_SystemSuppressAutoProvision0bit
v_R_SystemUnknown0int
v_R_SystemUser_Account_Control0int
v_R_SystemUser_Domain0nvarchar
v_R_SystemUser_Name0nvarchar
v_R_SystemVirtual_Machine_Host_Name0nvarchar
v_R_SystemVirtual_Machine_Type0int
v_R_SystemWipeStatus0int
v_R_SystemWTGUniqueKeynvarchar

All Machines (v_GS_COMPUTER_SYSTEM_PRODUCT)

Lists general information about inventoried client devices, including the manufacturer and model.

SQL VIEWSCOLUMN_NAMEDATA_TYPE
v_GS_COMPUTER_SYSTEM_PRODUCTAgentIDint
v_GS_COMPUTER_SYSTEM_PRODUCTCaption0nvarchar
v_GS_COMPUTER_SYSTEM_PRODUCTDescription0nvarchar
v_GS_COMPUTER_SYSTEM_PRODUCTGroupIDint
v_GS_COMPUTER_SYSTEM_PRODUCTIdentifyingNumber0nvarchar
v_GS_COMPUTER_SYSTEM_PRODUCTName0nvarchar
v_GS_COMPUTER_SYSTEM_PRODUCTResourceIDint
v_GS_COMPUTER_SYSTEM_PRODUCTRevisionIDint
v_GS_COMPUTER_SYSTEM_PRODUCTSKUNumber0nvarchar
v_GS_COMPUTER_SYSTEM_PRODUCTTimeStampdatetime
v_GS_COMPUTER_SYSTEM_PRODUCTUUID0nvarchar
v_GS_COMPUTER_SYSTEM_PRODUCTVendor0nvarchar
v_GS_COMPUTER_SYSTEM_PRODUCTVersion0nvarchar

Disks (v_GS_encryptable_volume)

Lists the encryptable disk volumes found on Windows computers.

SQL VIEWSCOLUMN_NAMEDATA_TYPE
v_GS_ENCRYPTABLE_VOLUMEAgentIDint
v_GS_ENCRYPTABLE_VOLUMEDeviceID0nvarchar
v_GS_ENCRYPTABLE_VOLUMEDriveLetter0nvarchar
v_GS_ENCRYPTABLE_VOLUMEGroupIDint
v_GS_ENCRYPTABLE_VOLUMEPersistentVolumeID0nvarchar
v_GS_ENCRYPTABLE_VOLUMEProtectionStatus0int
v_GS_ENCRYPTABLE_VOLUMEResourceIDint
v_GS_ENCRYPTABLE_VOLUMERevisionIDint
v_GS_ENCRYPTABLE_VOLUMETimeStampdatetime

Disks (v_GS_logical_disk)

Lists information about the logical disks found on Configuration Manager clients.

SQL VIEWSCOLUMN_NAMEDATA_TYPE
v_GS_LOGICAL_DISKAccess0int
v_GS_LOGICAL_DISKAgentIDint
v_GS_LOGICAL_DISKAvailability0int
v_GS_LOGICAL_DISKBlockSize0bigint
v_GS_LOGICAL_DISKCaption0nvarchar
v_GS_LOGICAL_DISKCompressed0int
v_GS_LOGICAL_DISKConfigManagerErrorCode0int
v_GS_LOGICAL_DISKConfigManagerUserConfig0int
v_GS_LOGICAL_DISKDescription0nvarchar
v_GS_LOGICAL_DISKDeviceID0nvarchar
v_GS_LOGICAL_DISKDriveType0int
v_GS_LOGICAL_DISKErrorCleared0int
v_GS_LOGICAL_DISKErrorDescription0nvarchar
v_GS_LOGICAL_DISKErrorMethodology0nvarchar
v_GS_LOGICAL_DISKFileSystem0nvarchar
v_GS_LOGICAL_DISKFreeSpace0bigint
v_GS_LOGICAL_DISKGroupIDint
v_GS_LOGICAL_DISKInstallDate0datetime
v_GS_LOGICAL_DISKLastErrorCode0int
v_GS_LOGICAL_DISKMaximumComponentLength0int
v_GS_LOGICAL_DISKMediaType0int
v_GS_LOGICAL_DISKName0nvarchar
v_GS_LOGICAL_DISKNumberOfBlocks0nvarchar
v_GS_LOGICAL_DISKPNPDeviceID0nvarchar
v_GS_LOGICAL_DISKPowerManagementCapabilities0nvarchar
v_GS_LOGICAL_DISKPowerManagementSupported0int
v_GS_LOGICAL_DISKProviderName0nvarchar
v_GS_LOGICAL_DISKPurpose0nvarchar
v_GS_LOGICAL_DISKResourceIDint
v_GS_LOGICAL_DISKRevisionIDint
v_GS_LOGICAL_DISKSize0bigint
v_GS_LOGICAL_DISKStatus0nvarchar
v_GS_LOGICAL_DISKSupportsFileBasedCompression0int
v_GS_LOGICAL_DISKSystemName0nvarchar
v_GS_LOGICAL_DISKTimeStampdatetime
v_GS_LOGICAL_DISKVolumeName0nvarchar
v_GS_LOGICAL_DISKVolumeSerialNumber0nvarchar