Cmdlet to uninstall .....

grego86

New Member
Joined
Sep 1, 2016
Messages
18
Bare with me. I'm a college student taking a "Implementing Microsoft-based Network Directory Services" class and I'm needing someone to double check a cmdlet for me. My lab I'm currently working on I'm suppose to uninstall the Print & Document Service, Application Server. Features: Group Policy Management, Internet Printing Client, and Windows Server Backup. After this I'll be returning to a full GUI interface from core. Is the correct cmdlet? Also if I just remove Print & Document Service and Application server will the features be removed at the same time ? Thanks for the help !


Remove-WindowsFeature Application-Server,printdocument-service
 

Solution
If you're talking about Server 2012 you can use Get-WindowsFeature "*" to see all available and installed features and then use the Remove-WindowsFeature <featurename> as shown in the output of the Get command. Here is some example output and you can do partial names to find something more specific. I did one for anything with Print in the name.
An image from 'Cmdlet to uninstall .....'. PowerShell outputs showing installed and available Windows features, including Print Services and DHCP Server.
Which server version?
 

If you're talking about Server 2012 you can use Get-WindowsFeature "*" to see all available and installed features and then use the Remove-WindowsFeature <featurename> as shown in the output of the Get command. Here is some example output and you can do partial names to find something more specific. I did one for anything with Print in the name.
An image from 'Cmdlet to uninstall .....'. PowerShell outputs showing installed and available Windows features, including Print Services and DHCP Server.
 

Last edited by a moderator:
Solution
Ooops sorry I apologize. Server 2012R2 Datacenter.
 

Awesome thank you ! Glad I was on the right track. Thanks again.
 

Back
Top