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?
Win32 might help you to get username in Windows.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With