Tried many combinations using this script to compress a lot of files into individual files using 7zip, but I keep getting errors.
Get-ChildItem *.smc | ForEach-Object { 7z a -yx9 -x9 "$_.Name+.7z" $_.Name }
Keeps coming up with "Too Long Switch" or "Too Short Switch". What's going on here?