1

I am using MDT to deploy my computers and want to have it run a second task sequence when it hits the custom tasks stage. One thing is that i want to have Both Windows Home and Pro editions in the same task and have a WMI query select the correct folder to deploy. Both editions have different sets of tasks after deployment. What WMI query can i use to accomplish this?

1 Answers1

0

What WMI query can I use to accomplish this?

You need the Caption element of the Win32_OperatingSystem WMI class.

The following command demonstrates retrieving this using wmic:

wmic os get Caption | findstr /v Caption

Example output:

F:\test>wmic os get Caption | findstr /v Caption
Microsoft Windows 7 Home Premium

Further Reading

DavidPostill
  • 162,382