-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADReplicationSiteLink: Support enable change notification replication #504
Comments
I found this, so maybe we can't assume we can always set it to
Please note that my knowledge in this are is lacking, so I don't know if this is still true today. 😃 |
Yeah I've not found any other value option set here through google (not studied all results). There is the following script: set-adobject –replace @{options=$($_.options –bor 1)} which might be a better option. I believe the other common value can be 5 which does no compression but notifiy. I pulled the value 1 from the command Set-ADReplicationSiteLink documenation I will try and get a list of available options so we can work out what's what exactly |
OK, potential values are as follows: 0 Nothing enabled Because of how the options are calculated (Bitwise), I will make it so that you can enable/disable all the above. I will rename the task to be 'ADReplicationSiteLink: Support setting options attribute' There will be 3 parameters, OptionChangeNotification, OptionTwoWaySync and OptionDisableCompression. All 3 optional boolean values. Have done a function to convert the existing value to work out which are enabled. Will do a function to calculate the value that should be set |
So great! Thanks for working on this! Great addition to the resource! |
OK, got this all working, complete with Integration tests. Because of how I've done this, until the PR for Description on Sites is closed, I am unable to create a PR for this and the description of subnets (inc Integration tests) Once that's closed, I should be able to submit the two PR's as they are in separate branches (my bad for doing it wrong to begin with :)) |
I will have a look at the PR this tonight or this weekend. I was waiting for the new release to be complete yesterday. |
Thank you @johlju will have a look through and see if there is anything else I can pick off in the meantime |
It would be good for the ADReplicationSiteLink resource to be able to enable the change notification replication.
Done in PowerShell by setting the options attribute:
Suggest having a boolean option for EnableChangeNotification. If true, options = 1, if false, options not set. Default value $false.
I am happy to look at this in the near future as I am looking to use this
The text was updated successfully, but these errors were encountered: