Powershell Replace Text In String Python Functions