What's the difference between Remove-WindowsFeature and Uninstall-WindowsFeature?
I've used Add- and Remove- on Windows 2008 R2 boxes, but there is now an Install- and Uninstall- which according to MSDN is only on Windows 2012 and 8
What's the difference between Remove-WindowsFeature and Uninstall-WindowsFeature?
I've used Add- and Remove- on Windows 2008 R2 boxes, but there is now an Install- and Uninstall- which according to MSDN is only on Windows 2012 and 8
There's a subtle difference in behavior that the 2012 version "optionally removes" the feature, and that
IncludeManagementTools
must be included as a parameter to remove the management console as part of the uninstallation of the feature, andRemove
must be included to remove the feature files from the computer that would allow the feature to be reinstalled.All other differences are clear by their presence/omission in the documentation.
Remove-WindowsFeature (2008 R2 documentation):
From: http://msdn.microsoft.com/en-us/library/ee662310.aspx
Uninstall-WindowsFeature (2012 Documentation):
From: http://technet.microsoft.com/en-us/library/jj205471.aspx
Nothing