Replace text in xml files with Powershell

Powershell Script Yesterday I was working at client site. It is a Windows server isolated from external network. It is not allowed to install any third party software in the machine. However, I got a task in hand to replace all xml files name from “My Report” to “My Report (New)”. The original file temp.xml… Continue reading Replace text in xml files with Powershell

Replace text in a file using Batch script

Yesterday I was working at client site. It is a Windows server isolated from external internet access and prohibited to install any new software. I got a task in hand to remove all yaml files id to null. For example, the input file temp.yaml looks like this: something id: 4something else id: 64next one id:… Continue reading Replace text in a file using Batch script