Create a local group on a different computer

E

Enders

Hi,

Is it possible to create a local group on a different computer.
I am using the net localgroup command from a batchfile.

Any suggestions ?

Constantijn
 
S

S. Pidgorny

Use psexec to run your script (incl. net localgroup) locally on the target
system?

--
Svyatoslav Pidgorny, MS MVP - Security, MCSE
-= F1 is the key =-

* http://sl.mvps.org * http://msmvps.com/blogs/sp *

"Enders" <Enders@discussions.microsoft.com> wrote in message
news:DA0E6FB9-C1E8-4F13-BCA9-97D8AE48129E@microsoft.com...
> Hi,
>
> Is it possible to create a local group on a different computer.
> I am using the net localgroup command from a batchfile.
>
> Any suggestions ?
>
> Constantijn
 
R

Roger Abell [MVP]

Sure it is possible, but not in the way you try.
Have you considered uprev to use of jscript/vbscript or
powershell where you can use WMI of this?

"Enders" <Enders@discussions.microsoft.com> wrote in message
news:DA0E6FB9-C1E8-4F13-BCA9-97D8AE48129E@microsoft.com...
> Hi,
>
> Is it possible to create a local group on a different computer.
> I am using the net localgroup command from a batchfile.
>
> Any suggestions ?
>
> Constantijn
 
Back
Top Bottom