Which two cmdlets should you use?

Your network contains an Active directory forest named contoso.com. The forest has a Distributed File System (DFS) namespace named \contoso.com
namespace1/ The domain contains a file server named Server1 that runs Windows Server 2016.
You create a folder named Folder1 on Server1.
You need to use Folder1 as a target for Namespace1.
Which two cmdlets should you use? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Grant-DfsnAccess
B. New-DfsnFolder
C. New-DfsReplicatedFolder
D. New-DfsnFolderTarget
E. New-SmbShare
F. Install-WindowsFeature

microsoft-exams

3 thoughts on “Which two cmdlets should you use?

  1. E. New-SmbShare

    D. New-DfsnFolderTarget

    This question asks you how to produce a DFS Root folder target for “namespace1” on Server1.
    The forest has an existing DFS Root “namespace1” hosted on other servers, to add Server1 as a folder target,
    First, create a shared folder on Server1 (\\Server1\Folder1) by using New-SmbShare cmdlet .
    Then use the “New-DfsnFolderTarget” to add Folder1 as an additional target path of “namespace1”.
    New-DfsnFolderTarget -Path “\\contoso.com\namespace1” -TargetPath “\\Server1\Folder1”
    https://technet.microsoft.com/en-us/itpro/powershell/windows/dfsn/new-dfsnfoldertarget
    The New-DfsnFolderTarget cmdlet adds a target to a Distributed File System (DFS) namespace folder.
    As the “namespace1” DFS Root folder was created, answer C is incorrect.

    2
    1

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.