Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

How to add quotation marks with powershell

$
0
0

Im working on a script that will get input data from a txt file. This file is a list of values and some of these values contains spaces. It looks like this:

Anchor Text Plug-in Cache
Anchor Text Plug-in Links
Application Publishing
Application Registry
Asset Library

.....

So I need to add quotations marks on every line in front of the first work and after the last word, to be able to use this file as a source for my script. Is it possible to do this with powershell?


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>