Re: [Networker] executing a powershell script as NW precmd
2011-08-22 12:00:36
> I have a problem. I try to execute a powershell script as precommand in
> savepnpc W2k8R2, NW 7.6.2SP3. The powershell script is executed from a
> batchfile, which is the precommand of savepnpc. The scripts hangs.
>
> Are there some special environment or call parameters neccessary?
nsrexecd
> runs as local system. If it runs as local administrator the problem
> is the same.
In general, savepnpc (at least on other platforms) gets virtually no
environment information. We've always made it a habit to manually specify
/everything/ that might be needed instead of assuming it will be present
in the environment.
FWIW.... ?
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|
|
|