Scotch Tech
asked on
Exchange script - Need to add 2 criteria to a REPLACE command
I have a script that contains a variable statement, which replaces a character, I need that statement to replace 2 different chracters:
The Current statement:
$ExchangeFolderPaths = $FolderPaths | % {"alias:" + $_.FolderPath.replace('/','\')}
I need it to also perform this:
$_.FolderPath.replace([char]63743,"/")}
How do I add these together?
The Current statement:
$ExchangeFolderPaths = $FolderPaths | % {"alias:" + $_.FolderPath.replace('/','\')}
I need it to also perform this:
$_.FolderPath.replace([char]63743,"/")}
How do I add these together?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great, thanks again!
ASKER