I've an excel with few columns containing data with - as separator and that needs to be changed into _. For instance, column A has data like this app-123 in cell 1 and cell 2, anc-123-xyz amd cell 3 abg-56d. These - should be replaced with _

Harish 1 Reputation point
2021-10-05T22:22:50.627+00:00

I've an excel with few columns containing data with - as separator and that needs to be changed into _. For instance, column A has data like this app-123 in cell 1 and cell 2, anc-123-xyz amd cell 3 abg-56d. These - should be replaced with _ using powershell.
I've 3 columns with such data. There are blanks in few cells as well.

On these values, 2nd requirement is I should do text to columns functionality using powershell.

Can any one help me with such information to proceed

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,389 questions
{count} votes