I have not used this particular command....
try:
LEP("cmd.exe Net user";$LEP_Input;$LEP_Output;$LEP_Error)

this should put the text from the command line into the variable $LEP_Output


> I want to run the command line command Net User on Windows Server 
> 2008 to get a list the local users. 
> 
> If I run Net User in the command line it lists the local users, which 
> is what I want. So I think I need to use LEP but I am not sure how. I 
> think a PowerShell or PSP script is what I need, but I cannot find an 
> example or figure how to write one.
> 
> Active Directory is not being used.
> 
> Thanks for any help,
> 
> John
> 
> 
> John Baughman
> Kailua, Hawaii
> (808) 262-0328
> john...@hawaii.rr.com
> 
> 
> 
> 
> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **********************************************************************
------------
Hell is other people 
     Jean-Paul Sartre
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to