Enable or disable the named profile.If the state is already the desired one, there will be no effect.