Im trying to remove spaces from input text file through powershell script. I have lakhs of text files where I have to remove the spaces. I wrote the code to remove spaces .