Change shared node properties

Thanks a lot regarding the Enabling/Disabling of multiple nodes.

Is there something regarding the second example? Maybe a bit sneaky, but I was hoping to also get a solution for my other question .