≡ Menu

Install DFS or DFS-R Management tools using PowerShell

DFS Management console is used for managing DFS namespaces and DFS-R replication. You can install it in a Windows server or desktop by running below command which will install DFS Management Console & related PowerShell modules.

add-WindowsFeature -Name RSAT-DFS-Mgmt-Con

Above command will install the DFS Management tools on the local computer, you can use the same command with a combination of PowerShell remoting to install on a remote server.

Invoke-Command -ComputerName tiblab.local -ScriptBlock { add-WindowsFeature -Name RSAT-DFS-Mgmt-Con }

Do you have any other scenario to install Windows Feature and not sure how to do it with PowerShell?; post in the comments section. We will do our best to get back.

{ 1 comment… add one }
  • eredn March 24, 2021, 2:03 pm

    add-WindowsFeature -Name RSAT-DFS-Mgmt-Con

    Doesnt work on Windows 10 “Version 10.0.19042 Build 19042”
    ERROR: “add-WindowsFeature : The target of the specified cmdlet cannot be a Windows client-based operating system.”

Leave a Comment