P
powtrix
Hi,
is possible to verify if an user is in administrators group, ex.:
IF %username% "isin" "%COMPUTERNAME%\Administrators" do (
...
)
or "DOMAIN\Domain Admins"..
Because I want to run some commands at netlogon script only if the
user is a local administrator.
thank you.
is possible to verify if an user is in administrators group, ex.:
IF %username% "isin" "%COMPUTERNAME%\Administrators" do (
...
)
or "DOMAIN\Domain Admins"..
Because I want to run some commands at netlogon script only if the
user is a local administrator.
thank you.