Instead of making bulk operations easier, the DFSRADMIN command-line has given me nearly as many steps as the GUI! To setup a simple hub and two-spoke environment with DFSRADMIN, I need to run these 12 commands:ĭfsradmin rf new /rgname:software /rfname:rf01ĭfsradmin mem new /rgname:software /memname:srv01ĭfsradmin mem new /rgname:software /memname:srv02ĭfsradmin mem new /rgname:software /memname:srv03ĭfsradmin conn new /rgname:software /sendmem:srv01 /recvmem:srv02ĭfsradmin conn new /rgname:software /sendmem:srv02 /recvmem:srv01ĭfsradmin conn new /rgname:software /sendmem:srv01 /recvmem:srv03ĭfsradmin conn new /rgname:software /sendmem:srv03 /recvmem:srv01ĭfsradmin membership set /rgname:software /rfname:rf01 /memname:srv01 /localpath:c:\rf01 /isprimary:trueĭfsradmin membership set /rgname:software /rfname:rf01 /memname:srv02 /localpath:c:\rf01ĭfsradmin membership set /rgname:software /rfname:rf01 /memname:srv03 /localpath:c:\rf01įacepalm. To setup only two servers with DFSMGMT, I have to go through all these dialogs: Run the DFSRADMIN.EXE command-line tool N times, or run N arguments as part of the BULK command-line option. Run DFSMGMT.MSC, browsing and clicking your way through adding the servers and their local configurations.Ģ. In the old DFSR tools, you would have two options here:ġ. Let’s start with the simple case of creating a replication topology with two servers that will be used to synchronize a single folder. Join me, and I will complete your training Today we walk through all of these new capabilities and show you how, with our combined strength, we can end this destructive conflict and bring order to the galaxy. We then devoted ourselves to this, sometimes arguing late into the night about a PowerShell experience that you would actually want to use.
Parity with old tools is not enough – DFSR Windows PowerShell should bring new capabilities and solve old problems. Not everyone is a DFSR expert – DFSR Windows PowerShell should default to the recommended configuration.ģ. The old admin tools work against one node at a time – DFSR Windows PowerShell should scale without extensive scripting.Ģ. It led to a charter for our Windows PowerShell design process:ġ. If you were already comfortable with the old command-line tools or attached to the GUI, why bother learning more of the same? I spent many years in the field before I came to Redmond and I’ve felt this pain.Īs the DFSR development team, we wanted to be part of the solution. We’ve been beating the Windows PowerShell drum for years now, but sometimes, new cmdlets don’t offer better ways to do things, only different ways. “IT pros have strong feelings about Windows PowerShell, but if they can be turned, they’d be a powerful ally. Today we dig into the most comprehensive new feature, DFSR Windows PowerShell. By now, you know that DFS Replication has some major new features in Windows Server 2012 R2. It does not store any personal data.First published on TECHNET on Aug 20, 2013 The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. The cookie is used to store the user consent for the cookies in the category "Performance". This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. The cookies is used to store the user consent for the cookies in the category "Necessary". The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". The cookie is used to store the user consent for the cookies in the category "Analytics". These cookies ensure basic functionalities and security features of the website, anonymously. Necessary cookies are absolutely essential for the website to function properly.