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

Tab (`t)

$
0
0

Hi PowerSheller,

Here is my sample script:

Get-Content aa.txt | ForEach-Object { $_ -replace " ","2"} #ForEach-Object { $_ -replace " ","`t"}

I need multiple tab. for example:

if("2" -eq "`t`t")
.............
else if("3" -eq "`t`t`t")
.............

How to i do that?

Thanks


Viewing all articles
Browse latest Browse all 6937

Trending Articles