APPCMD syntax issue

Posted by Adam on Server Fault See other posts from Server Fault or by Adam
Published on 2012-10-20T21:09:15Z Indexed on 2012/10/20 23:05 UTC
Read the original article Hit count: 277

I am trying to setup recycling logging events, using the following:

 appcmd set config /section:applicationPools /[name=' AppPoolName '].recycling.logEventOnRecycle:time 

But I am getting this error:

Failed to process input: The parameter ''].recycling.logEventOnRecycle:time' mus t begin with a / or - (HRESULT=80070057).

I used this technet article but I cannot figure out where I went wrong.

Any ideas?

© Server Fault or respective owner

Related posts about windows-server-2008

Related posts about scripting