All you have to do is remove the extra slash from the replace string but not from the match string. Since the match string is regex while the replace string is used to replace as is. So the current syntax can be:
-replace:objectname=metaproperty,match="c:\\inetpub",replace="d:\inetpub"
Let us know if you need more information.