TEST TEST TEST
I don't have a naming convention like this, but this "MIGHT" work--I suggest testing. A lot.
Assumptions:
There are EXACTLY 5 numbers between the LIB-AU and the - for the Lab machines and then exactly 2 numbers after the -
There are EXACTLY 5 numbers for the LIB-AU ones where they don't have a - for employee machines
Labs:
Select * from win32_ComputerSystem Where Name like 'LIB-AU[0-9][0-9][0-9][0-9]-[0-9]-[0-9][0-9]'
Employees:
Select * from win32_ComputerSystem Where Name like 'LIB-AU[0-9][0-9][0-9][0-9][0-9]'
Why this might work....
the [0-9]; that's a WQL/SQL query trick. So you're saying... after the LIB-AU, that next character has to be a number between 0-9
Then the next character has to be 0-9
... up to 5 characters (for Employees)
For Lab, it has to be LIB-AU, then 5 numbers, then a -, then 2 numbers.