Cmdlet to uninstall .....

Discussion in 'Windows Server Forums' started by grego86, Sep 1, 2016.

  1. grego86

    grego86 New Member

    Joined:
    Sep 1, 2016
    Messages:
    6
    Likes Received:
    0
    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
     
  2. Neemobeer

    Neemobeer Windows Forum Team
    Staff Member

    Joined:
    Jul 4, 2015
    Messages:
    2,382
    Likes Received:
    360
    Which server version?
     
  3. Neemobeer

    Neemobeer Windows Forum Team
    Staff Member

    Joined:
    Jul 4, 2015
    Messages:
    2,382
    Likes Received:
    360
    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.
    MSS2012.
     
  4. grego86

    grego86 New Member

    Joined:
    Sep 1, 2016
    Messages:
    6
    Likes Received:
    0
    Ooops sorry I apologize. Server 2012R2 Datacenter.
     
  5. grego86

    grego86 New Member

    Joined:
    Sep 1, 2016
    Messages:
    6
    Likes Received:
    0
    Awesome thank you ! Glad I was on the right track. Thanks again.
     

Share This Page

Loading...