|
I want to use a python script to show up all local administrators in our domain. My Code :
But I only get this from the
I don't get the whole output. Does someone know how I can fix it? |
||||
|
You are passing the arguments as a long string, rather than a list. The quick fix would be using
The right way to do this would be creating a list of arguments and passing it. Quoting the documentation:
|
|||||||||||||||||||||||||||||||||||||
|


浙公网安备 33010602011771号
PsExec v2.1 - Execute processes remotely Copyright (C) 2001-2013 Mark Russinovich Sysinternals - www.sysinternals.com Aliasname Administratoren Beschreibung Administratoren haben uneingeschränkten Vollzugriff auf den Com puter bzw. die Domäne. Mitglieder ------------------------------------------------------------------------------- Administrator ISEW2K\Domain Adminsso it works in cmd but not in the script :-/ i need to check more then 1000 Maschines - so an script would be nice – access199 Aug 12 '14 at 9:38Psexec.exe \\w1378.ise.fhg.de -i net localgroup AdministratorenWhen i use this in command line it executes correctly. Executes in the script -> no output shown – access199 Aug 12 '14 at 9:47