Fixed incorrect foreach use; replaced with correct foreach-object
Revert alias replacement for aliases using old DOS style commands;
used aliases:
copy
mkdir
rmdir
del

This makes things more readable than previous commit, but still replaces difficult to understand aliases such as ipmo, %