I want to deploy a Wim image to only existing laptops.
The existing laptops have a computer name starting with abcd-1234 and the new devices have a computer name abcdef-1234
So I want to build a task sequence which checks if the computer name matches for example abcd-1234. If it matches then it should continue with the next step in the task sequence loading wim image and if it doesn’t macht then show a message like image already loaded and exit the task sequence
So before deploying anything the task sequence needs to check if the computer name matches
I have found a powershell script which does the check on computer name but have no idea how to combine this with a task sequence
Anyone who can help
I really appreciate if someone could help me with any solution
Every help is more then Welkom
Thank you
The existing laptops have a computer name starting with abcd-1234 and the new devices have a computer name abcdef-1234
So I want to build a task sequence which checks if the computer name matches for example abcd-1234. If it matches then it should continue with the next step in the task sequence loading wim image and if it doesn’t macht then show a message like image already loaded and exit the task sequence
So before deploying anything the task sequence needs to check if the computer name matches
I have found a powershell script which does the check on computer name but have no idea how to combine this with a task sequence
Anyone who can help
I really appreciate if someone could help me with any solution
Every help is more then Welkom
Thank you