1 of 1 people found this helpful
Not sure if its easily available in 8.2, not in 8.0 and 8.1.
what version are you using ?
. But you will not be able to use this directly to create a Smart group
I have used a custom command to execut this command
wmic computersystem get domainrole
and use the output to set a Property on the Server.
And then using that Server Property , you can create Smart groups.
Look at this, this talks about a similar script, it has the script pasted.