Skip to content

Commit

Permalink
Merge pull request #25 from SamErde/se-fix-GetBTNameProtectionConfigu…
Browse files Browse the repository at this point in the history
…ration

Removed extraneous 'dhcpServer' line that broke the build.
  • Loading branch information
jakehildreth authored Jul 27, 2024
2 parents 4bbbdc7 + f226408 commit 508c5bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Private/Get/Get-BTNameProtectionConfiguration.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ function Get-BTNameProtectionConfiguration {

$NameProtectionConfigurationList = @()

dHCPServer
foreach ($dhcpServer in $DHCPServers) {
$NameProtectionv4Configuration = (Get-DhcpServerv4DnsSetting -ComputerName $dhcpServer.IPAddress).NameProtection
$NameProtectionv6Configuration = (Get-DhcpServerv6DnsSetting -ComputerName $dhcpServer.IPAddress).NameProtection
Expand All @@ -28,4 +27,4 @@ function Get-BTNameProtectionConfiguration {
}

$NameProtectionConfigurationList
}
}

0 comments on commit 508c5bd

Please sign in to comment.