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.

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.

Answer:

Explanation:



Leave a Reply 9

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


arthur

arthur

Why are all the pictures missing for the Hotspot and Drag Drop questions? Can someone please fix these? Thank you!

clever4ever

clever4ever

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)

Bartosz

Bartosz

the replication should be run daily.
There are no DAL-FS1 or DAL-FS2 mention in the case.
Teh Server1 and server2 are out of domain

clever4ever

clever4ever

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!

LB

LB

computers must be domain joined. can’t recall the actuall case study so not sure what the specifics of the machines are.

– Can I use DFS Replication in a workgroup?
No. DFS Replication relies on Active Directory® Domain Services for configuration. It will only work in a domain.

https://technet.microsoft.com/en-us/library/cc773238(v=ws.10).aspx#BKMK_001

1a is the correct powershell command as clever4ever said.

Coyo

Coyo

I believe 1b is correct.
Because you have to create the Replication Group first.
In this case you must read the “two” Powershell-Commands from right to left.

Or not?

fwszech

fwszech

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

fwszech

fwszech

maybe Storage1=DAL-FS1 and Storage2=DAL-FS2