Author: =?ISO-8859-1?Q?Bernd?= <bernd.gotschy AT MENTIQ DOT COM>
Date: Mon, 22 Aug 2011 09:39:33 -0400
Hallo, 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. T
Author: Len Philpot <Len.Philpot AT CLECO DOT COM>
Date: Mon, 22 Aug 2011 10:59:59 -0500
nsrexecd 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 a
Author: Davina Treiber <Davina.Treiber AT PEEVRO.CO DOT UK>
Date: Mon, 22 Aug 2011 17:20:03 +0100
I have seen exactly the same thing. It's related to file descriptors being held open. I think what I did to solve it was closing stderr on the command line within the precmd field, using: mypowershel
Author: =?ISO-8859-1?Q?Bernd?= <bernd.gotschy AT MENTIQ DOT COM>
Date: Wed, 24 Aug 2011 02:51:14 -0400
Hallo Davina, thanks for your suggestion. But it didn't help to run a ps script. I made a quick and dirty hack. I run the ps script from a visual basic script with wscript.exe. Not really elegant but