Skip to content

Conversation

@BanterBoy
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings October 2, 2025 13:33
@BanterBoy BanterBoy merged commit 165f068 into prod Oct 2, 2025
2 of 3 checks passed
@BanterBoy BanterBoy deleted the BanterBoy-patch-1 branch October 2, 2025 13:33
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the DisableADAccountsMenu function to target different AD admin accounts. The changes replace the existing account names (Kurtis Marsden, Jamie Beale, Luke Leigh) with new ones (John Smith, Jack Daniels, Geoff Geoffries) while maintaining the same functional structure.

  • Updates function names to match new admin accounts
  • Changes AD account identities in Disable-ADAccount commands
  • Updates menu display text and switch statement mappings

Comment on lines +94 to +96
function Disable-JohnSmith {
Disable-ADAccount -Identity JohnSmith.admin
Write-Output "Account JohnSmith.admin has been disabled."
Copy link

Copilot AI Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The function name 'Disable-JohnSmith' doesn't follow PowerShell naming conventions. Consider using 'Disable-JohnSmithAccount' to be more descriptive and consistent with the action being performed.

Copilot generated this review using guidance from repository custom instructions.
Comment on lines +99 to +101
function Disable-JackDaniels {
Disable-ADAccount -Identity JackDaniels.admin
Write-Output "Account JackDaniels.admin has been disabled."
Copy link

Copilot AI Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The function name 'Disable-JackDaniels' doesn't follow PowerShell naming conventions. Consider using 'Disable-JackDanielsAccount' to be more descriptive and consistent with the action being performed.

Copilot generated this review using guidance from repository custom instructions.
Comment on lines +104 to +106
function Disable-GeoffGeoffries {
Disable-ADAccount -Identity GeoffGeoffries.admin
Write-Output "Account GeoffGeoffries.admin has been disabled."
Copy link

Copilot AI Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The function name 'Disable-GeoffGeoffries' doesn't follow PowerShell naming conventions. Consider using 'Disable-GeoffGeoffriesAccount' to be more descriptive and consistent with the action being performed.

Copilot generated this review using guidance from repository custom instructions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants