SEPPmailAPI.psd1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
#
# Module manifest for module 'SEPPmailAPI'
#
# Generated by: Roman Stadlmair
#
# Generated on: 26.01.2021
#

@{

   # Script module or binary module file associated with this manifest.
   RootModule = '.\SEPPmailAPI.psm1'

   # Version number of this module.
   ModuleVersion = '1.0.5'

   # Supported PSEditions
   CompatiblePSEditions = @('Desktop','Core')

   # ID used to uniquely identify this module
   GUID = 'fe22be24-92f4-4e63-ba8d-5e9f26779d9d'

   # Author of this module
   Author = 'The SEPPmail Dev-Team'

   # Company or vendor of this module
   CompanyName = 'SEPPmail AG'

   # Copyright statement for this module
   Copyright = '(c) SEPPmail AG. All rights reserved.'

   # Description of the functionality provided by this module
   Description = 'Receive and manipulate your SEPPmail Appliance beginning with SEPPmail Version 12.1.0.
   With the REST-API you can retrieve and set information via REST, including the option to mass-generate users.
   This PowerShell module is a wrapper around this API to allow more convenient operation and interaction from the command line.'


   # Minimum version of the PowerShell engine required by this module
   PowerShellVersion = '5.1'

   # Name of the PowerShell host required by this module
   # PowerShellHostName = ''

   # Minimum version of the PowerShell host required by this module
   # PowerShellHostVersion = ''

   # Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
   # DotNetFrameworkVersion = ''

   # Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
   # ClrVersion = ''

   # Processor architecture (None, X86, Amd64) required by this module
   # ProcessorArchitecture = ''

   # Modules that must be imported into the global environment prior to importing this module
   # RequiredModules = @('Configuration','Microsoft.PowerShell.SecretsManagement')
   # RequiredModules = @()

   # Assemblies that must be loaded prior to importing this module
   # RequiredAssemblies = @()

   # Script files (.ps1) that are run in the caller's environment prior to importing this module.
   # ScriptsToProcess = @()

   # Type files (.ps1xml) to be loaded when importing this module
   # TypesToProcess = @()

   # Format files (.ps1xml) to be loaded when importing this module
   # FormatsToProcess = @()

   # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
   NestedModules = @(
           '.\Private\SEPPmailAPIPrivate.ps1'
           )

   # Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
   FunctionsToExport = @(
         'Find-SMACustomer'
          'Get-SMACustomer'
          'New-SMACustomer'
          'Set-SMACustomer'
       'Remove-SMACustomer'
       'Export-SMACustomer'
       'Import-SMACustomer'
          'Get-SMAEncInfo'
          'Add-SMACustomerAdmin'
       'Remove-SMACustomerAdmin'
          'Set-SMAConfiguration'
          'Get-SMAConfiguration'
          'New-SMAConfiguration'
       'Remove-SMAConfiguration'
         'Test-SMAConfiguration'
         'Find-SMADisclaimer'
          'Get-SMADisclaimer'
          'New-SMADisclaimer'
          'Set-SMADisclaimer'
       'Remove-SMADisclaimer'
         'Find-SMADisclaimerInclude'
          'New-SMADisclaimerInclude'
       'Remove-SMADisclaimerInclude'
         'Find-SMAGinaUser'
          'New-SMAGinaUser'
          'Set-SMAGinaUser'
       'Remove-SMAGinaUser'
         'Find-SMAGroup'
          'Get-SMAGroup'
          'New-SMAGroup'
          'Set-SMAGroup'
       'Remove-SMAGroup'
          'Add-SMAGroupMember'
       'Remove-SMAGroupMember'
         'Find-SMAManagedDomain'
          'Get-SMAManagedDomain'
          'New-SMAManagedDomain'
          'Set-SMAManagedDomain'
       'Remove-SMAManagedDomain'
         'Find-SMATemplate'
          'Get-SMATemplate'
          'New-SMATemplate'
          'Set-SMATemplate'
       'Remove-SMATemplate'
         'Find-SMATemplateInclude'
          'Get-SMATemplateInclude'
          'New-SMATemplateInclude'
       'Remove-SMATemplateInclude'
          'Get-SMAStatistics'
          'Get-SMAUser'
         'Find-SMAUser'
          'New-SMAUser'
          'Set-SMAUser'
       'Remove-SMAUser'
   )

   # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
   CmdletsToExport = @()

   # Variables to export from this module
   VariablesToExport = '*'

   # Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
   AliasesToExport = @('*')

   # DSC resources to export from this module
   # DscResourcesToExport = @()

   # List of all modules packaged with this module
   # ModuleList = @()

   # List of all files packaged with this module
   FileList = @(
       '.\SEPPmailAPI.psm1',
       '.\SEPPmailAPI.psd1',
       '.\Readme.MD',
       '.\LICENSE',
       '.\examples\examples.md',
       '.\examples\customers.csv',
       '.\examples\NewUsers.csv',
       '.\examples\RemoveUsers.csv',
       '.\examples\UpdateUsers.csv',
       '.\Private\SEPPmailAPIPrivate.ps1',
       '.\Private\SEPPmailAPIPrivate_Cfg.ps1',
       '.\Public\SEPPmailAPI-Customer.ps1',
       '.\Public\SEPPMailAPI-Disclaimer.ps1',
       '.\Public\SEPPMailAPI-Group.ps1',
       '.\Public\SEPPmailAPI-Info.ps1',
       '.\Public\SEPPmailAPI-ManagedDomain.ps1',
       '.\Public\SEPPMailAPI-ModuleCfg.ps1',
       '.\Public\SEPPMailAPI-Statistics.ps1',
       '.\Public\SEPPMailAPI-Template.ps1',
       '.\Public\SEPPmailAPI-User.ps1',
       '.\Public\SEPPmailAPI-Webmail.ps1'
   )

# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
   PrivateData = @{
       PSData = @{
           # Tags applied to this module. These help with module discovery in online galleries.
           Tags = @(
                   'SEPPmail',
                   'REST-API',
                   'PSEdition_Desktop',
                   'PSEdition_Core',
                   'Windows',
                   'Linux'
                   'MacOS'
                   )

           # A URL to the license for this module.
           LicenseUri = 'https://github.com/seppmail/SEPPmailAPI/blob/master/LICENSE'

           # A URL to the main website for this project.
           ProjectUri = 'https://github.com/seppmail/SEPPmailAPI'

           # A URL to an icon representing this module.
           IconUri = 'https://avatars1.githubusercontent.com/u/55975553?s=400&u=ab22c52a439397dca458e58dfcec9f0a9dd347db&v=4'

           # ReleaseNotes of this module
           ReleaseNotes =
@'
260121: Initial release - preparation for SM Release 12.1.0 - User path only
 
050221: User management stable - working with SM Dev Release 12.1.0
 
080221: 0.5.3 - Fixed TLS issue on older PS5 (WS2016) machines, cleanup exported commands
 
110321: 0.8.0 - All v1 CmdLets done, cosmetics and testing starting now
 
020421: 0.8.1 - Adding Support for Credential based security with Token/secret
 
070721: 0.9.0 - Adding Support for multiple configs and SecretStore
 
260721: 0.9.1 - Adding Support for Encryption Information
 
170921: 0.9.2 - Adding Support for ManagedDomain, MailTemplate, Disclaimer
 
180921: 0.9.3 - Adding Support for Statistics
 
270921: 0.9.4 - Adding Support for Webmail (GINA) users
 
031021: 0.9.5 - Adding Support for Groups
 
071021: 1.0.0 - First Release compatible with SEPpmail 12.1
 
091021: 1.0.1 - Signing of psd1 file added
 
141021: 1.0.5 - Linux/macOS test-smaconfig fixed, securestrig fixed, Module init SEPPmail_ModuleCfg fixed.
'@


        # Prerelease string of this module
        # Prerelease = 'beta5'

        # Flag to indicate whether the module requires explicit user acceptance for install/update/save
        # RequireLicenseAcceptance = $false

        # External dependent modules of this module
        # ExternalModuleDependencies = @()

       } # End of PSData hashtable

   } # End of PrivateData hashtable

   # HelpInfo URI of this module
   HelpInfoURI = 'https://github.com/seppmail/SEPPmailAPI/blob/main/examples/examples.md'

   # Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
   # DefaultCommandPrefix = ''
}

# SIG # Begin signature block
# MIIL1wYJKoZIhvcNAQcCoIILyDCCC8QCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQU/jVJvjDDXGXwQFIWip6zjB4A
# uUOggglAMIIEmTCCA4GgAwIBAgIQcaC3NpXdsa/COyuaGO5UyzANBgkqhkiG9w0B
# AQsFADCBqTELMAkGA1UEBhMCVVMxFTATBgNVBAoTDHRoYXd0ZSwgSW5jLjEoMCYG
# A1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjE4MDYGA1UECxMv
# KGMpIDIwMDYgdGhhd3RlLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkx
# HzAdBgNVBAMTFnRoYXd0ZSBQcmltYXJ5IFJvb3QgQ0EwHhcNMTMxMjEwMDAwMDAw
# WhcNMjMxMjA5MjM1OTU5WjBMMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMdGhhd3Rl
# LCBJbmMuMSYwJAYDVQQDEx10aGF3dGUgU0hBMjU2IENvZGUgU2lnbmluZyBDQTCC
# ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJtVAkwXBenQZsP8KK3TwP7v
# 4Ol+1B72qhuRRv31Fu2YB1P6uocbfZ4fASerudJnyrcQJVP0476bkLjtI1xC72Ql
# WOWIIhq+9ceu9b6KsRERkxoiqXRpw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