cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
SJm
Engaged Sweeper
I am having issues with this string it looks correct but it does not work

lsrunase username Domain HGFRjFgV?itGxGfLNot "dsmod group \"CN=Apps,OU=app deployment groups,OU=Groups,OU=Test,OU=Data,OU=Global Test,DC=ad,DC=Tom,DC=com\" -addmbr \"CN=%computername%,OU=Workstations,OU=Test,OU=Data,OU=Global Test,DC=ad,DC=Tom,DC=com\""

If I use runas and enter in the password it works. (runas \env \user: xyz)

3 REPLIES 3
Hemoco
Lansweeper Alumni
You could move everything you want to do to a cmd file and run the cmd file with lsrunase
SJm
Engaged Sweeper
No I don't, is there away to capture to an out put file? Something like lsrunase xyz >junk.txt maybe there is an error.
Hemoco
Lansweeper Alumni
Do you get an error message?