hello. i was wondering if someone could help me out with this. i'm trying to get a list of printers from another server and it's returning everything ok. however, i want to save the results to a log file and it's not logging everything.
when running the following:
paexec \\SERVER -u username -p password -h cscript C:\windows\system32\Printing_Admin_Scripts\en-US\prnmngr.vbs -l
my response is:
Microsoft (R) Windows Script Host
Version 5.8 Copyright (C) Microsoft Corporation. All rights reserved.
LIST OF PRINTERS
however, when i add -lo logfile.text, the output that is logged is the following:
PAExec v1.17 - Execute Programs Remotely
Copyright (c) 2012 Power Admin LLC
www.poweradmin.com/PAExec
Connecting to SMI-STRPRNT...
Starting PAExec service on SMI-STRPRNT...
cscript returned 0
PAExec returning exit code 0
Is there a way to save the actually output from the remote application to the log file?