question

BASKARDHANHINDLAKSHIMI-4916 avatar image
0 Votes"
BASKARDHANHINDLAKSHIMI-4916 asked BASKARDHANHINDLAKSHIMI-4916 edited

Find the specific xml for the below path and change the value

Hi Everyone,
Here the command change the xml value

current Value :<LogSystem>3</LogSystem>
Change value <LogSystem>1</LogSystem>

There are changes perfectly no issue .. I need to change all projects for this Path **D:\Website**
Any possible command to do that

powershell -Command "(gc D:\Website\AEPS\API\bin\DHLogConnection_Copy.xml) -replace '<LogSystem>3</LogSystem>','<LogSystem>1</LogSystem>'| Out-File -encoding ASCII D:\Website\AEPS\API\bin\DHLogConnection_Copy.xml"

windows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers