This is a quick post as a reminder for anyone that may not know this.
This command will remove old service pack files from a Windows 2008 R2 server.
Run the below command from and elevated command prompt.
dism /online /cleanup-image /spsuperseded
I have used this on many server to clean up disk space on running virtual machines.
Hope this helps.
For more command line article see our archive of command line posts.