Ying Li at myITforum.com

PowerShell & System Center

SMS query to get machine name from serial number

Here is a query to get machine name from serial number:

select SMS_R_System.NetbiosName, SMS_G_System_PC_BIOS.SerialNumber from  SMS_R_System inner join SMS_G_System_PC_BIOS on SMS_G_System_PC_BIOS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_PC_BIOS.SerialNumber like ##PRM:SMS_G_System_PC_BIOS.SerialNumber##

Posted: Jan 29 2007, 04:00 PM by yli628 | with no comments
Filed under:

Comments

No Comments