Skip to content

Commit

Permalink
Merge pull request #96 from dsccommunity/DSC_CMEmailNotificationCompo…
Browse files Browse the repository at this point in the history
…nent

Dsc_CMEmailNotificationComponent additional resource
  • Loading branch information
jeffotterpohl authored Aug 19, 2021
2 parents 91e717d + 6e8c372 commit ee02d74
Show file tree
Hide file tree
Showing 13 changed files with 1,455 additions and 14 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- Added ConfigMgrCBDsc.ReverseDsc module
- Added CMEmailNotificationComponent

### Fixed

Expand Down
30 changes: 28 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ Please check out common DSC Community [contributing guidelines](https://dsccommu
maintenance windows for collections.
- **CMFileReplication**: Provides a resource for creating, modifying, or deleting
file replication settings in Configuration Manager.
- **CMEmailNotificationComponent**: Provides a resource for modifying email notification
component settings.

### xSccmPreReqs

Expand Down Expand Up @@ -1336,6 +1338,29 @@ you are using apply and auto correct.
- [CMFileReplication_Present](Source\Examples\Resources\CMFileReplication\CMFileReplication_Present.ps1)
- [CMFileReplication_Absent](Source\Examples\Resources\CMFileReplication\CMFileReplication_Absent.ps1)

### CMEmailNotificationComponent

- **[String] SiteCode** _(Key)_: Specifies the Site Code for the Configuration
Manager site.
- **[String] Enabled** _(Key)_: Specifies if email notifications are
enabled or disabled.
- **[String] SmtpServerFqdn** _(Write)_: Specifies the FQDN of the site server that
will send email.
- **[String] SendFrom** _(Write)_: Specifies the address used to send email.
- **[UInt32] Port** _(Write)_: Specifies the port used to send email.
- **[String] UserName** _(Write)_: Specifies the username for authenticating against
an SMTP server. Only used when AuthenticationMethod equals Other.
- **[Boolean] UseSsl** _(Write)_: Specifies whether to use SSL for email alerts.
If omitted, the assumed intent is that SSL is not to be used.
- **[String] TypeOfAuthentication** _(Write)_: Specifies the method by which
Configuration Manager authenticates the site server to the SMTP Server.
- Values include: {Anonymous|DefaultServiceAccount|Other}

#### CMEmailNotificationComponent Examples

- [CMEmailNotificationComponent_Present](Source\Examples\Resources\CMEmailNotificationComponent\CMEmailNotificationComponent_Present.ps1)
- [CMEmailNotificationComponent_Absent](Source\Examples\Resources\CMEmailNotificationComponent\CMEmailNotificationComponent_Absent.ps1)

## ReverseDsc

Most organizations using this module already have an existing Configuration Manager
Expand Down Expand Up @@ -1388,6 +1413,7 @@ all of the modules and specify if it is currently supported by ReverseDSC.
- DSC_CMDistributionGroup: Fully Supported
- DSC_CMDistributionPoint: Fully Supported
- DSC_CMDistributionPointGroupMembers: Fully Supported
- DSC_CMEmailNotificationComponent: Fully Supported
- DSC_CMFallbackStatusPoint: Fully Supported
- DSC_CMFileReplication: Not Supported
- DSC_CMForestDiscovery: Fully Supported
Expand Down Expand Up @@ -1434,7 +1460,7 @@ After importing the module, Set-ConfigMgrCBDscReverse will be available.
default setting: All.
- Values include: { All|Accounts|AdministrativeUser|AssetIntelligencePoint|BoundaryGroups|
ClientPush|ClientStatusSettings|CollectionEvaluationComponent|Collections|
DistributionGroups|DistributionPoint|DistributionPointGroupMembers|
DistributionGroups|DistributionPoint|DistributionPointGroupMembers|EmailNotificationComponent|
FallbackPoints|ForestDiscovery|HeartbeatDiscovery|MaintenanceWindow|ManagementPoint|
NetworkDiscovery|PullDistributionPoint|PxeDistributionPoint|
ReportingServicesPoint|SecurityScopes|ServiceConnection|SiteMaintenance|
Expand All @@ -1444,7 +1470,7 @@ After importing the module, Set-ConfigMgrCBDscReverse will be available.
being evaluated. Only evaluated when Include = 'All'
- Values include: { Accounts|AdministrativeUser|AssetIntelligencePoint|BoundaryGroups|
ClientPush|ClientStatusSettings|CollectionEvaluationComponent|Collections|
DistributionGroups|DistributionPoint|DistributionPointGroupMembers|
DistributionGroups|DistributionPoint|DistributionPointGroupMembers|EmailNotificationComponent|
FallbackPoints|ForestDiscovery|HeartbeatDiscovery|MaintenanceWindow|ManagementPoint|
NetworkDiscovery|PullDistributionPoint|PxeDistributionPoint|
ReportingServicesPoint|SecurityScopes|ServiceConnection|SiteMaintenance|
Expand Down
2 changes: 1 addition & 1 deletion RequiredModules.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'DscResource.Test' = 'latest'
'DscResource.AnalyzerRules' = 'latest'
xDscResourceDesigner = 'latest'
'DscResource.DocGenerator' = 'latest'
'DscResource.DocGenerator' = '0.8.3'

# Build dependent modules
'DscResource.Common' = 'latest'
Expand Down
3 changes: 2 additions & 1 deletion source/ConfigMgrCBDsc.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
'CMSoftwareDistributionComponent'
'CMMaintenanceWindows'
'CMFileReplication'
'CMEmailNotificationComponent'
)

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

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

0 comments on commit ee02d74

Please sign in to comment.