Format Powershell Variable
Budget: $10 – $30 USD
$inputnames = "['tom\\njeff\\njosh\\n']"
foreach($name in $inputnames) {
$name
}
I need you to format the above input variable in my powershell script so that when i run the script, the output (stdout) will be:
tom
jeff
josh
foreach($name in $inputnames) {
$name
}
I need you to format the above input variable in my powershell script so that when i run the script, the output (stdout) will be:
tom
jeff
josh