I am trying to automate the setup of site servers. I can get as far as making a server a distribution point, but we have 2 other roles that we assign to our site servers that I can't figure how to add in powershell so far.
The two roles are:
Component server
State migration point
I'm looking for anyway of doing it, Cmdlets (don't think there are any or least not easy to tell which ones do it), WMI, command line utility... Anyway I can automate it.