Hello Friends,
Is there a way I can know which task sequence is used to deploy a particular machine?
Yes, we can update the registry key with the Task Sequence info like, which Task Sequence is used to deploy the OS on a particular machine?
from Which DP the contents are downloaded? Is the machine built with Boot media or it is PXE boot?
Is this a machine desktop or laptop? what is the machine type, machine model?
Also, we can get when the machine is imaged(date and time when the Task Sequence is deployed).
First, we have to gather all the information which we want to update in the registry.
let's take the example of DP's name...
How do we know from which DP the contents are getting downloaded? from where I can get this information? is it a simple variable which I can use to update the registry? No.
While running the Task Sequence all the variable data is stored in a .dat file and we can fetch that using "New-Object -ComObject 'Microsoft.SMS.TSEnvironment"