Link to home
Start Free TrialLog in
Avatar of Scotch Tech
Scotch TechFlag for United States of America

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? 
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Scotch Tech

ASKER

thats awesome, seems to work.


Great, thanks again!