Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

Renaming CSV with its own Row values Powershell

$
0
0

Hi All,

I am fortunate enough to be part of Spiceworks community, I am stuck with the below situation kindly help me out by improving my powershell code:

The situation is , I have a path lets say "D:\Lzero\Input_1\OnlyTime" were I have many CSV's generated in a certain job flow like xyz.csv, abc.csv

The Contents of this CSV looks like this :

------------------------------------------------------------------------------------------------------------------------

xyz.csv

CI , Env, Time ,Site , Reboot Rights

Random1 , Prod , 1600, Mal , Auto

Random2 , Prod ,1600, Mal , Auto

------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------

abc.csv

CI , Env, Time ,Site , Reboot...


Viewing all articles
Browse latest Browse all 15370

Latest Images

Trending Articles



Latest Images

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