Filter a listing of files in $Source with a regex to get a list of files without extensions, and add that list to $ExcludeFiles. Replace /xf $ExcludeFiles
with this:
/xf ($ExcludeFiles + (Get-ChildItem -File $Source -Name | ?{$_ -notmatch '\.'}))
For compatibility with versions of PowerShell lower than 3.0, which don't support the -File switch for Get-ChildItem, use this instead:
/xf ($ExcludeFiles + (Get-ChildItem $Source | ?{! $_.PSIsContainer} | select -ExpandProperty Name | ?{$_ -notmatch '\.'}))
By definition, a file with an extension is a file with a dot in the name, so $_ -notmatch '\.'
selects only names without extensions.