-
Notifications
You must be signed in to change notification settings - Fork 117
/
Copy pathPowerStig.Convert.psm1
50 lines (47 loc) · 2.61 KB
/
PowerStig.Convert.psm1
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
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
#Requires -Version 5.1
<#
A funny note if you have OCD. The order of the dot sourced files is important due to the way
that PowerShell processes the files (Top/Down). The Classes in the module depend on the
enumerations, so if you want to alphabetize this list, don't. PowerShell with throw an error
indicating that the enumerations can't be found, if you try to load the classes before the
enumerations.
#>
using module .\Module\Common\Common.psm1
using module .\Module\Convert.AccountPolicyRule\Convert.AccountPolicyRule.psm1
using module .\Module\Convert.AuditPolicyRule\Convert.AuditPolicyRule.psm1
using module .\Module\Convert.DnsServerRootHintRule\Convert.DnsServerRootHintRule.psm1
using module .\Module\Convert.DnsServerSettingRule\Convert.DnsServerSettingRule.psm1
using module .\Module\Convert.DocumentRule\Convert.DocumentRule.psm1
using module .\Module\Convert.FileContentRule\Convert.FileContentRule.psm1
using module .\Module\Convert.GroupRule\Convert.GroupRule.psm1
using module .\Module\Convert.IISLoggingRule\Convert.IISLoggingRule.psm1
using module .\Module\Convert.ManualRule\Convert.ManualRule.psm1
using module .\Module\Convert.MimeTypeRule\Convert.MimeTypeRule.psm1
using module .\Module\Convert.PermissionRule\Convert.PermissionRule.psm1
using module .\Module\Convert.ProcessMitigationRule\Convert.ProcessMitigationRule.psm1
using module .\Module\Convert.RegistryRule\Convert.RegistryRule.psm1
using module .\Module\Convert.SecurityOptionRule\Convert.SecurityOptionRule.psm1
using module .\Module\Convert.ServiceRule\Convert.ServiceRule.psm1
using module .\Module\Convert.SqlScriptQueryRule\Convert.SqlScriptQueryRule.psm1
using module .\Module\Rule\Rule.psm1
using module .\Module\Convert.UserRightsAssignmentRule\Convert.UserRightsAssignmentRule.psm1
using module .\Module\Convert.WebAppPoolRule\Convert.WebAppPoolRule.psm1
using module .\Module\Convert.WebConfigurationPropertyRule\Convert.WebConfigurationPropertyRule.psm1
using module .\Module\Convert.WindowsFeatureRule\Convert.WindowsFeatureRule.psm1
using module .\Module\Convert.WinEventLogRule\Convert.WinEventLogRule.psm1
using module .\Module\Convert.WmiRule\Convert.WmiRule.psm1
# load the public functions
Foreach ($supportFile in ( Get-ChildItem -Path "$PSScriptRoot\Module\Convert.Main" -Filter '*.ps1' ) )
{
Write-Verbose "Loading $($supportFile.FullName)"
. $supportFile.FullName
}
Export-ModuleMember -Function @(
'ConvertFrom-StigXccdf',
'ConvertTo-PowerStigXml',
'Compare-PowerStigXml',
'Get-ConversionReport',
'Split-StigXccdf'
)