Skip to content

Commit d932147

Browse files
authored
Merge branch 'TrimarcJake:main' into se-simple-empty-array-check-01
2 parents 7bb1b1b + e977f98 commit d932147

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

Build/Build-Module.ps1

+1-2
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ Build-Module -ModuleName 'Locksmith' {
131131

132132
New-ConfigurationArtefact -Type Packed -Enable -Path "$PSScriptRoot\..\Artefacts\Packed" -ArtefactName '<ModuleName>.zip'
133133
New-ConfigurationArtefact -Type Script -Enable -Path "$PSScriptRoot\..\Artefacts\Script" -PreScriptMerge $PreScriptMerge -PostScriptMerge $PostScriptMerge -ScriptName "Invoke-<ModuleName>.ps1"
134-
New-ConfigurationArtefact -Type ScriptPacked -Enable -Path "$PSScriptRoot\..\Artefacts\ScriptPacked" -ArtefactName "Invoke-<ModuleName>.zip" -PreScriptMerge $PreScriptMerge -PostScriptMerge $PostScriptMerge -ScriptName "Invoke-<ModuleName>.ps1"
135-
New-ConfigurationArtefact -Type Unpacked -Enable -Path "$PSScriptRoot\..\Artefacts\Unpacked"
134+
New-ConfigurationArtefact -Type ScriptPacked -Enable -Path "$PSScriptRoot\..\Artefacts\ScriptPacked" -PreScriptMerge $PreScriptMerge -PostScriptMerge $PostScriptMerge -ScriptName 'Invoke-<ModuleName>.ps1' -ArtefactName 'Invoke-<ModuleName>.zip'
136135
# New-ConfigurationPublish -Type PowerShellGallery -FilePath 'C:\Users\jake.BLUETUXEDO\Documents\API Keys\PSGallery.txt'
137136
}
138137

Invoke-Locksmith.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -2224,7 +2224,7 @@ function Invoke-Scans {
22242224
[array]$AllIssues = $AuditingIssues + $ESC1 + $ESC2 + $ESC3 + $ESC4 + $ESC5 + $ESC6 + $ESC8 + $ESC11 + $ESC13
22252225

22262226
# If these are all empty = no issues found, exit
2227-
if ((!$AuditingIssues) -and (!$ESC1) -and (!$ESC2) -and (!$ESC3) -and (!$ESC4) -and (!$ESC5) -and (!$ESC6) -and (!$ESC8) -and ($ESC11) -and ($ESC13) ) {
2227+
if ((!$AuditingIssues) -and (!$ESC1) -and (!$ESC2) -and (!$ESC3) -and (!$ESC4) -and (!$ESC5) -and (!$ESC6) -and (!$ESC8) -and (!$ESC11) -and (!$ESC13) ) {
22282228
Write-Host "`n$(Get-Date) : No ADCS issues were found." -ForegroundColor Green
22292229
break
22302230
}
@@ -3229,7 +3229,7 @@ function Invoke-Locksmith {
32293229
[System.Management.Automation.PSCredential]$Credential
32303230
)
32313231

3232-
$Version = '2024.11.10'
3232+
$Version = '2024.11.11'
32333233
$LogoPart1 = @"
32343234
_ _____ _______ _ _ _______ _______ _____ _______ _ _
32353235
| | | | |____/ |______ | | | | | |_____|

Locksmith.psd1

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Description = 'A small tool to find and fix common misconfigurations in Active Directory Certificate Services.'
88
FunctionsToExport = @('*')
99
GUID = 'b1325b42-8dc4-4f17-aa1f-dcb5984ca14a'
10-
ModuleVersion = '2024.11.10'
10+
ModuleVersion = '2024.11.11'
1111
PowerShellVersion = '5.1'
1212
PrivateData = @{
1313
PSData = @{

0 commit comments

Comments
 (0)