Jump to content


Recommended Posts

Does anyone have an idea why this query doesn't work when it's written everywhere it should?

This is the query 

SELECT * FROM Win32_ComputerSystem WHERE NOT Model LIKE "%Latitude 5520%"

And I have tried with the same results

SELECT * FROM Win32_ComputerSystem WHERE Model NOT LIKE "%Latitude 5520%"

Thank you.

 

image.png.445a057858f6e4d99171f0d5a883fbeb.png

Share this post


Link to post
Share on other sites


For me [WHERE Model NOT LIKE] is not a correct syntax.
[WHERE N
OT (Model LIKE "%Latitude 5520%") ] should work ...

I tested it in my environment and it's working.
Copy paste issue ? Try to type it ...

Share this post


Link to post
Share on other sites

I will test it and let you know, i don't know if this is because this step is too soon in the TS.

Its placed even before the OS in installed.

The step "IF ITS UEFI" is being applied to machines that don't match the query.

 

Thank you.

image.thumb.png.1ad2b4776a1f6a0973c87a8997d64697.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...