Skip to content

Commit

Permalink
Merge pull request #81 from dsccommunity/DSC_CMFileReplication
Browse files Browse the repository at this point in the history
DSC_CMFileReplication Resource creation
  • Loading branch information
jeffotterpohl authored May 7, 2021
2 parents f267d9a + e6ed290 commit b629d6a
Show file tree
Hide file tree
Showing 9 changed files with 2,173 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added Test-CMSchedule to the ResourceHelper
- Added Set-CMSchedule to the ResourceHelper
- Added CMMaintenanceWindows Resource
- Added CMFileReplication Resource

### Changed

Expand Down
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ Please check out common DSC Community [contributing guidelines](https://dsccommu
Network Access Accounts.
- **CMMaintenanceWindows**: Provides a resource for creating and modifying
maintenance windows for collections.
- **CMFileReplication**: Provides a resource for creating, modifying, or deleting
file replication settings in Configuration Manager.

### xSccmPreReqs

Expand Down Expand Up @@ -1282,3 +1284,39 @@ you are using apply and auto correct.

- [CMMaintenanceWindows_Present](Source\Examples\Resources\CMMaintenanceWindows\CMMaintenanceWindows_Present.ps1)
- [CMMaintenanceWindows_Absent](Source\Examples\Resources\CMMaintenanceWindows\CMMaintenanceWindows_Absent.ps1)

### CMFileReplication

- **[String] SiteCode** _(Key)_: Specifies the Site Code for the Configuration
Manager site.
- **[String] DestinationSiteCode** _(Key)_: Specifies the destination site for
the file replication route by using a site code.
- **[UInt32] DataBlockSizeKB** _(Write)_: Specifies a data block size, in kilobytes.
Used in conjunction with the PulseMode parameter.
- Values Range: 1 - 256
- **[UInt32] DelayBetweenDataBlockSec** _(Write)_: Delay, in seconds, between sending
data blocks when PulseMode is used.
- Values Range: 1 - 30
- **[String] FileReplicationAccountName** _(Write)_: Specifies the account that Configuration
Manager uses for file replication.
- **[Boolean] UseSystemAccount** _(Write)_: Specifies if the replication service
will use the site system account.
- **[Boolean] Limited** _(Write)_: Indicates that bandwidth for a file replication
route is limited.
- **[Boolean] PulseMode** _(Write)_: Indicates that file replication uses data block
size and delays between transmissions.
- **[Boolean] Unlimited** _(Write)_: Indicates that bandwidth for a file replication
route is unlimited.
- **[EmbeddedInstance] RateLimitingSchedule[]** _(Write)_: Specifies, as an array
of CimInstances, hour ranges and bandwidth percentages for limiting file replication.
- **[EmbeddedInstance] NetworkLoadSchedule[]** _(Write)_: Specifies, as an array
of CimInstances, hour ranges and bandwidth percentages for network load balancing
schedule.
- **[String] Ensure** _(Write)_: Specifies whether the file replication route
is present or absent.
- Values include: { Present | Absent }

#### CMFileReplication Examples

- [CMFileReplication_Present](Source\Examples\Resources\CMFileReplication\CMFileReplication_Present.ps1)
- [CMFileReplication_Absent](Source\Examples\Resources\CMFileReplication\CMFileReplication_Absent.ps1)
3 changes: 2 additions & 1 deletion source/ConfigMgrCBDsc.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
'CMClientPushSettings'
'CMSoftwareDistributionComponent'
'CMMaintenanceWindows'
'CMFileReplication'
)

<#
Expand All @@ -96,7 +97,7 @@
'ServiceConnectionPoint','NetworkDiscovery','ReportingServicePoint','SystemDiscovery','PXEDistributionPoint','PullDistributionPoint',
'SiteMaintenance','AdministrativeUser','DistributionGroup','SiteSystemServer','StatusReportingComponent','CollectionMembershipEvaluationComponent',
'DistributionPointGroupMembers','SecurityScopes','UserDiscovery','SecurityRoles','ClientPushSettings','SoftwareDistributionComponent',
'MaintenanceWindows')
'MaintenanceWindows','FileReplication')

# A URL to the license for this module.
LicenseUri = 'https://github.com/dsccommunity/ConfigMgrCBDsc/blob/master/LICENSE'
Expand Down
Loading

0 comments on commit b629d6a

Please sign in to comment.