If facing below issue at the time of Sitecore instance setup
Install-SitecoreConfiguration : Cannot retrieve the dynamic parameters for the cmdlet. Unrecognized escape sequence.
Then would suggest to update files for
xconnect-xp0.json
sitecore-XP0.json
scinstall.ps1 (in your case, installation script file name may be different)
by searching '\' in above files and replace with "\\" in file path
for example:
earlier setting was
$PSScriptRoot\Sitecore 9.0.2 rev. 180604 (OnPrem)_single.scwdp.zip
and replaced with
$PSScriptRoot\\Sitecore 9.0.2 rev. 180604 (OnPrem)_single.scwdp.zip
and once all settings updated in script, then execute again.
Hope this will help.