Check which operating system a task sequence is run on
If you have a SCCM task sequence that can upgrade more than one operating system (for example XP and Vista to Windows 8), you might want to do different stuff depending on the installed operating system. This can be important if you want to use USMT.
Select * FROM Win32_OperatingSystem WHERE Caption LIKE "%XP%"
for Vista it would be
Select * FROM Win32_OperatingSystem WHERE Caption LIKE "%VISTA%"
and so on.
Was this article helpful? Then please donate to keep The IT Community alive...
If you found this article helpful please share it, comment and help others by writing your own article.
Translate this page:
Articles found in the same category: