Jump to content

igorsfsiqueira

Members
  • Posts

    5
  • Joined

  • Last visited

igorsfsiqueira's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. ok, i was remove @SystemDir for my script, but it doesn't work. I've tried, but no success. The problem can be the Domain, or not?
  2. Hi everyone, I have some problems with RunAs. Global $admin, $domain, $password, $variable $admin="user" $domain="teste" $password="password" $variable="V:\example1\example2\example3\install_example.bat" RunAs($admin, $domain, $password,2,$variable, @SystemDir) RunWait("V:\example1\example2\example3\install_example.bat") When i go a head with this, nothing happens. someone have any idea? what is the problem with this? in $domain, I need put the ip or the name of machine? Thanks.
×
×
  • Create New...