PrepAway - Latest Free Exam Questions & Answers

What cmdlet should you run?

HOTSPOT
Your network contains an Active Directory domain named contoso.com. The domain contains a domain-based
Distributed File System (DFS) namespace named Namespace1.
You need to view the shares to which users will be redirected when the users attempt to connect to a folder
named Folder1 in the DFS namespace.
What cmdlet should you run? To answer, select the appropriate options in the answer area.
Hot Area:image:Img134-197.jpg

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:

References: https://docs.microsoft.com/en-us/powershell/module/dfsn/get-dfsnfolder?view=win10-ps

6 Comments on “What cmdlet should you run?

    1. slim2018 says:

      Pekah74 is correct.

      Get-DfsnFolderTarget actually returns where the specified folder in the namespace is actually hosted.
      Sample:
      PS C:\Users\administrator> Get-DfsnFolderTarget \\itfellas.internal\namespacetest\folder1

      Path TargetPath State ReferralPriorityClass ReferralPriorityRank
      —- ———- —– ——————— ——————–
      \\itfellas.internal\namespacetest\folder1 \\SRV2\sharetest Online sitecost-normal 0

      Get-DfsnFolder only returns the status of the share where the folder is targeted.
      Sample:
      PS C:\Users\administrator> Get-DfsnFolder \\itfellas.internal\namespacetest\folder1

      Path State TimeToLiveSec Properties Description
      —- —– ————- ———- ———–
      \\itfellas.internal\namespacetest\folder1 Online 1800




      3



      0

Leave a Reply