Start a Conversation

Unsolved

This post is more than 5 years old

1206

August 22nd, 2011 03:00

executing a powershell script as NW precmd

Hallo,

I have a problem. I try to execute a powershell script as precommand in savepnpc W2k8R2,

NW 7.6.2SP3. The ps scripts hangs.

Are there some special environment or call parameters neccessary? nsrexecd run as local

system. If it runs are local administrator the problem is the same.

regards

Bernd

14.3K Posts

August 22nd, 2011 06:00

How do you call it?

72 Posts

August 22nd, 2011 06:00

I call it from a batch file which is the precommand of savepnpc.

14.3K Posts

August 23rd, 2011 04:00

yeah yeah,ok, but how... I think you are pretty aware that calling a ps script does take some care (especially since env setting when called from savepnpc are tabula rasa)... An example on some pre-care taking can be found here: http://technet.microsoft.com/en-us/library/ee176949.aspx

No Events found!

Top