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?
Asked
Active
Viewed 2,537 times
1 Answers
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