PrepAway - Latest Free Exam Questions & Answers

Which Windows PowerShell commands should you add to the script?

HOTSPOT
You need to create a script to deploy DFS replication.
Which Windows PowerShell commands should you add to the script? To answer, select the
appropriate Windows PowerShell commands in each list in the answer area.

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:

9 Comments on “Which Windows PowerShell commands should you add to the script?

  1. clever4ever says:

    Can’t remember the exact scenario, but there’s also something mentioned about the days where replication should run.

    1.
    a) New-DFsReplicationGroup -GroupName “RG-HR”| New-DFsReplicatedFolder -FolderName “HR-Data”
    b) New-DFsReplicatedFolder -GroupName “RG-HR” -FolderName “HR-Data” | New-DFsReplicationGroup -GroupName “RG-HR”

    correct: a)
    Validation: See example in https://technet.microsoft.com/en-us/library/dn296673.aspx

    2.
    a) Add-DfsrMember -GroupName “RG-HR” -ComputerName “DAL-FS1″,”DAL-FS2”
    b) Add-DfsrMember -GroupName “RG-HR” -ComputerName “Server1″,”Server2”

    guess: b)

    3.
    a) Add-DfsrConnection -GroupName “RG-HR” -SourceComputerName “DAL-FS1” -DestinationComputer “DAL-FS2”
    b) Add-DfsrConnection -GroupName “RG-HR” -SourceComputerName “Server1” -DestinationComputer “Server2”

    guess: b)

    4.
    a) Set-DfsrConnectionSchedule -GroupName “RG-HR” -SourceComputerName “DAL-FS1” -DestinationComputer “DAL-FS2”
    b) Set-DfsrConnectionSchedule -GroupName “RG-HR” -SourceComputerName “Server1” -DestinationComputer “Server2” -Day
    c) ..

    guess: b)




    0



    0
  2. clever4ever says:

    Had the question today. Bartosz is right, Server 1 and 2 are not Domain joined.
    So what is the better choice, Servers not mentioned in the scenario or Servers not in the Domain?
    I really don’t know, hope Microsoft does it!




    0



    0
  3. fwszech says:

    1A
    2A
    3A
    4A

    according to:
    “Replication requires at least two member computers (those involved in replication). Each member computer must be running Windows Server 2012 R2 Preview or later with the DFSR role installed (FS-DFS-Replication), and must be joined to an Active Directory domain. The local computer (where the script is run) must be running either Windows Server 2012 R2 Preview or later with the DFS Management Tools installed (RSAT-DFS-Mgmt-Con), or Windows 8.1 Preview or later with the Remote Server Administration Tools installed. All DFSR objects will be created in the current user’s Active Directory domain.”

    correct order to configure DFS replication:
    1. new replication group => 1A
    2. a new replicated folder => 1A
    3. adds member computers and the desired connection topology =>2A
    4. configures memberships

    3A
    4A (4A=4B I can’t see difference)

    https://gallery.technet.microsoft.com/Configure-DFSR-using-162aa873




    0



    0

Leave a Reply