From 3814975a5262a47f13dc50bd44d37149f8960bd8 Mon Sep 17 00:00:00 2001 From: Rephl3x Date: Wed, 24 Sep 2025 02:51:57 +0000 Subject: [PATCH 01/15] ADFS Server Trace - Match annoying ADFS error code to proper error quickly. --- Asteroid.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Asteroid.ps1 b/Asteroid.ps1 index 4b11aa9..299f441 100644 --- a/Asteroid.ps1 +++ b/Asteroid.ps1 @@ -73,4 +73,4 @@ Function Get-AdfsServerTrace { } else { Write-Output $results } -} +} \ No newline at end of file From a17b27f5fe735bbcb0293218b58a677187cf0e1d Mon Sep 17 00:00:00 2001 From: Rephl3x Date: Wed, 24 Sep 2025 02:52:18 +0000 Subject: [PATCH 02/15] Identify where user is being locked out from. --- Binoculars.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Binoculars.ps1 b/Binoculars.ps1 index dfdad58..2e8c7c6 100644 --- a/Binoculars.ps1 +++ b/Binoculars.ps1 @@ -48,4 +48,4 @@ while ($true) { # Wait for 10 seconds (10 seconds) Start-Sleep -Seconds 10 -} +} \ No newline at end of file From 420e5ab184b8410ccbf0e7b9237226b2d1e40f7f Mon Sep 17 00:00:00 2001 From: Rephl3x Date: Wed, 24 Sep 2025 02:52:37 +0000 Subject: [PATCH 03/15] DNS Record Mapping Tool with GUI - Map - IP to DNS record based on subnet --- Cartographer.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Cartographer.ps1 b/Cartographer.ps1 index b60be46..c7df3ea 100644 --- a/Cartographer.ps1 +++ b/Cartographer.ps1 @@ -313,5 +313,4 @@ $exportButton.Add_Click({ }) # Show the form -[void]$form.ShowDialog() - +[void]$form.ShowDialog() \ No newline at end of file From 0d87d0479fd80950d34d062a2cfd82846816bea6 Mon Sep 17 00:00:00 2001 From: Rephl3x Date: Wed, 24 Sep 2025 02:52:55 +0000 Subject: [PATCH 04/15] Compare Multiple Users Group Memberships - Up to 3 --- Contrast.ps1 | 1 - 1 file changed, 1 deletion(-) diff --git a/Contrast.ps1 b/Contrast.ps1 index 2a4f970..ec0909b 100644 --- a/Contrast.ps1 +++ b/Contrast.ps1 @@ -199,5 +199,4 @@ $buttonHelp.Add_Click({ # Show the form $form.ShowDialog() - # Disclaimer: TWFkZSBieSBaYWsgQmVhcm1hbiAtIERhdGFjb20gV2ludGVsIC0gUHJvdmlkZWQgYXMgaXMgd2hlcmUgaXMuIElmIGJyb2tlbiB3aWxsIGJlIGxvb2tlZCBhdCBpbiBhIGJlc3QgZWZmb3J0IGF0dGVtcHQ= \ No newline at end of file From f32f72704b3288ee5945553c58e6ec01f2dc3e5b Mon Sep 17 00:00:00 2001 From: Rephl3x Date: Wed, 24 Sep 2025 02:53:15 +0000 Subject: [PATCH 05/15] This lets you create a TCP port listener on a remote host for you to run a test-netconnection to it. --- Conversation.ps1 | 1 - 1 file changed, 1 deletion(-) diff --git a/Conversation.ps1 b/Conversation.ps1 index 2952c91..cb853a3 100644 --- a/Conversation.ps1 +++ b/Conversation.ps1 @@ -77,4 +77,3 @@ Function Receive-TCPMessage { } } - \ No newline at end of file From 3bf293181550752edc297d7cba6bdc754c3902b6 Mon Sep 17 00:00:00 2001 From: Rephl3x Date: Wed, 24 Sep 2025 02:53:25 +0000 Subject: [PATCH 06/15] Find and correct SPN issues for SQL team --- Darth-SPooN.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Darth-SPooN.ps1 b/Darth-SPooN.ps1 index 0dc7414..9757989 100644 --- a/Darth-SPooN.ps1 +++ b/Darth-SPooN.ps1 @@ -108,4 +108,4 @@ if ($wrongSPNs) { Write-Host "`n[OK] No unexpected MSSQLSvc SPNs found." -ForegroundColor Green } -Write-Host "`n=== MSSQLSvc + HADR SPN Check Complete ===" +Write-Host "`n=== MSSQLSvc + HADR SPN Check Complete ===" \ No newline at end of file From a814231db9a76d52528ac9723e696a5c058ba2f1 Mon Sep 17 00:00:00 2001 From: Rephl3x Date: Wed, 24 Sep 2025 02:53:53 +0000 Subject: [PATCH 07/15] Create and manage MSA or grMSA --- EggBasket.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EggBasket.ps1 b/EggBasket.ps1 index 1adb570..1f86603 100644 --- a/EggBasket.ps1 +++ b/EggBasket.ps1 @@ -129,4 +129,4 @@ $form.Add_MouseClick({ # Show the form $form.Topmost = $true $form.Add_Shown({$form.Activate()}) -[void]$form.ShowDialog() +[void]$form.ShowDialog() \ No newline at end of file From d2281e5ca103f555f43f86ffd17d95e04b50d8c9 Mon Sep 17 00:00:00 2001 From: Rephl3x Date: Wed, 24 Sep 2025 02:54:07 +0000 Subject: [PATCH 08/15] Not really used anymore but was used for pinholing DNS for Zscaler --- Haystack.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Haystack.ps1 b/Haystack.ps1 index 1beae89..dcb125d 100644 --- a/Haystack.ps1 +++ b/Haystack.ps1 @@ -88,4 +88,4 @@ $form.Controls.Add($ipLabel) $form.Controls.Add($ipTextBox) # Show the form -$form.ShowDialog() | Out-Null \ No newline at end of file +$form.ShowDialog() | Out-Null From 3f026c7816e5ab762d0b3f7d396161fd151055be Mon Sep 17 00:00:00 2001 From: Rephl3x Date: Wed, 24 Sep 2025 02:55:42 +0000 Subject: [PATCH 09/15] This will check a CSV and check when the password was last reset. --- Ledger.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ledger.ps1 b/Ledger.ps1 index 286c287..822d0d8 100644 --- a/Ledger.ps1 +++ b/Ledger.ps1 @@ -26,4 +26,4 @@ foreach ($user in $users) { } elseif ($adUser.LastLogon -lt $thresholdDate) { Write-Output "$samAccountName Password was last set on $($adUser.PasswordLastSet)" } -} +} \ No newline at end of file From a51949f1b5592c2f7d8ca204247b3c98aecdf99f Mon Sep 17 00:00:00 2001 From: Rephl3x Date: Wed, 24 Sep 2025 02:56:00 +0000 Subject: [PATCH 10/15] Generic Template for Perfmon with best metrics to capture --- Perfmon-Template.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Perfmon-Template.xml b/Perfmon-Template.xml index e741c46..def387d 100644 --- a/Perfmon-Template.xml +++ b/Perfmon-Template.xml @@ -105,4 +105,4 @@ - + \ No newline at end of file From 933a11cd53a1dd47686441efd03da65a36dcbcc7 Mon Sep 17 00:00:00 2001 From: Rephl3x Date: Wed, 24 Sep 2025 02:56:24 +0000 Subject: [PATCH 11/15] Search for any and all Certificates issued per CA --- Scope.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scope.ps1 b/Scope.ps1 index 5300d2b..0953180 100644 --- a/Scope.ps1 +++ b/Scope.ps1 @@ -55,4 +55,4 @@ if ($results.Count -eq 0) { Write-Host "No certificates found matching the criteria." -ForegroundColor Red } else { $results | Format-Table -AutoSize -} +} \ No newline at end of file From 05ef983edb4a5b2b6e5f91a7823d5072e1c7bf02 Mon Sep 17 00:00:00 2001 From: Rephl3x Date: Wed, 24 Sep 2025 02:57:15 +0000 Subject: [PATCH 12/15] This will read the name of the CSR files and create DNS records of it pointing to the IP chosen. --- Stacker.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Stacker.ps1 b/Stacker.ps1 index ac1dabc..bc773bb 100644 --- a/Stacker.ps1 +++ b/Stacker.ps1 @@ -30,4 +30,4 @@ Get-ChildItem -Path $CsrFolder -Filter *.csr | ForEach-Object { } catch { Write-Warning "Could not add DNS record for $fqdn : $_" } -} +} \ No newline at end of file From 99588cf7607a5b3139a26874ded1f03c7c4bd0e3 Mon Sep 17 00:00:00 2001 From: Rephl3x Date: Wed, 24 Sep 2025 02:58:40 +0000 Subject: [PATCH 13/15] This creates a bulk lot of certificates based on the file names in the input folder. --- Tentacles.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tentacles.ps1 b/Tentacles.ps1 index 5cd5267..fa608ff 100644 --- a/Tentacles.ps1 +++ b/Tentacles.ps1 @@ -43,4 +43,4 @@ foreach ($csr in $csrFiles) { Write-Host "Done processing $($csr.Name)" } -Write-Host "`nAll CSR filenames processed as hostnames." +Write-Host "`nAll CSR filenames processed as hostnames." \ No newline at end of file From ebb11455cd9ad0df71fdb6e3cf484a1256c613ef Mon Sep 17 00:00:00 2001 From: Rephl3x Date: Wed, 24 Sep 2025 03:00:53 +0000 Subject: [PATCH 14/15] This will read a csv folder of users and set their passwords to reset on next logon. --- Warden.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/Warden.ps1 b/Warden.ps1 index 49b493a..f1b0681 100644 --- a/Warden.ps1 +++ b/Warden.ps1 @@ -149,5 +149,6 @@ Write-Output "The original CSV file has been renamed to $newFilePath." # Open the folder containing the renamed CSV file Start-Process -FilePath "explorer.exe" -ArgumentList "/select,`"$newFilePath`"" + # Clear all variables from active memory Remove-Variable -Name form, label, label2, textBox, browseButton, acceptButton, cancelButton, csvPath, userList, destinationPath, todaysDate, outputCsvPath, originalFileName, originalFileExtension, directory, newFileName, newFilePath -ErrorAction SilentlyContinue \ No newline at end of file From a65eb6f4b408186415845546498b9801255a3667 Mon Sep 17 00:00:00 2001 From: Rephl3x Date: Wed, 24 Sep 2025 03:02:21 +0000 Subject: [PATCH 15/15] Find and correct SPN issues for SQL team --- Darth-SPooN.ps1 => SPooN.ps1 | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Darth-SPooN.ps1 => SPooN.ps1 (100%) diff --git a/Darth-SPooN.ps1 b/SPooN.ps1 similarity index 100% rename from Darth-SPooN.ps1 rename to SPooN.ps1