Batch File Powershell Code To Remove Matching Text Giving Errors

Batch File Powershell Code To Remove Matching Text Giving Errors