I had a script where I needed to change a character in a string.
Simple task as I found on the Net.
$str = $str.replace(‘\’,’_’)
I had a script where I needed to change a character in a string.
Simple task as I found on the Net.
$str = $str.replace(‘\’,’_’)
Posted in PowerShell | Tagged powershell | Leave a comment