I am trying to build a basic starter script that figures out what OS I am running on and if any special modules need loaded. As far as Linux is concerned I am able to check for root by looking at the effective uid $>is there a way to do a similar operation on windows?