Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

REPLACE NULL VALUE to SOME MEANINGFUL VALUE IN SPECIFIC COLUMN OF .CSV FILE

$
0
0

In an .csv file I want to replace the null values in a  column with value I know how to use it for complete .csv file where ever null replace with NA Can somebody suggest how to this for one specific column.

the sample data is this

Group        URL                       Host             contentmatch disabled     schedule     Thresholds

A         www.xxx.com             tetcspm1        mytravels                        one day             100 hits per sec

B              xx                            cc                   cc                    enabled                             300

C             vv                             vv                  vv                                                               900

 

wherever in columns disabled & schedule the value is null it should be replaced by enabled&everyday,all day


Viewing all articles
Browse latest Browse all 8583

Latest Images

Trending Articles



Latest Images