I know that Windows app (even the bloatware ones) can be removed through PowerShell, but I would like to achieve the same goal through the command-line processor. I used this guide that I found on How-To Geek to remove the apps I didn't want when I first used Windows, now I would like to make a batch script that automates the process. I already have my script set to delete all associated files and folders I want it to remove, but I can't figure out how to "translate" the PowerShell commands to do the same in cmd.
Here is the closest thing I have to completley removing an app with cmd / batch:
Get-AppxPackage *%APPNAME%* | Remove-AppxPackage
::This is the original PowerShell command that needs to be translated.
rmdir "%FOLDEREXAMPLE%" /s /q
del "%FILEEXAMPLE%" /s /q