cd "C:\Users\Team Wing\Desktop\Myfriv Gaming Script" Get-ChildItem -Path . -Recurse -Include *.html,*.php | ForEach-Object { (Get-Content $_.FullName) -replace 'oxgech.com', 'yoursite.com' | Set-Content $_.FullName }