Skip to content

Commit

Permalink
Improved comments
Browse files Browse the repository at this point in the history
  • Loading branch information
HotCakeX committed Feb 12, 2024
1 parent 38a07b6 commit 858feeb
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion WinSecureDNSMgr/Module/Main/Set-BuiltInWinSecureDNS.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Function Set-BuiltInWinSecureDNS {
# Importing the $PSDefaultParameterValues to the current session, prior to everything else
. "$WinSecureDNSMgrModuleRootPath\MainExt\PSDefaultParameterValues.ps1"

# Import sub-modules
# Importing the required sub-modules
Import-Module -Name "$WinSecureDNSMgrModuleRootPath\Shared\Get-ActiveNetworkAdapterWinSecureDNS.psm1" -Force
Import-Module -Name "$WinSecureDNSMgrModuleRootPath\Shared\Get-ManualNetworkAdapterWinSecureDNS.psm1" -Force
Import-Module -Name "$WinSecureDNSMgrModuleRootPath\Shared\Select-Option.psm1" -Force
Expand Down
2 changes: 1 addition & 1 deletion WinSecureDNSMgr/Module/Main/Set-CustomWinSecureDNS.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function Set-CustomWinSecureDNS {
# Importing the $PSDefaultParameterValues to the current session, prior to everything else
. "$WinSecureDNSMgrModuleRootPath\MainExt\PSDefaultParameterValues.ps1"

# Import sub-modules
# Importing the required sub-modules
Import-Module -Name "$WinSecureDNSMgrModuleRootPath\Shared\Get-ActiveNetworkAdapterWinSecureDNS.psm1" -Force
Import-Module -Name "$WinSecureDNSMgrModuleRootPath\Shared\Get-ManualNetworkAdapterWinSecureDNS.psm1" -Force
Import-Module -Name "$WinSecureDNSMgrModuleRootPath\Shared\Select-Option.psm1" -Force
Expand Down
2 changes: 1 addition & 1 deletion WinSecureDNSMgr/Module/Main/Set-DynamicIPDoHServer.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function Set-DynamicIPDoHServer {
# Importing the $PSDefaultParameterValues to the current session, prior to everything else
. "$WinSecureDNSMgrModuleRootPath\MainExt\PSDefaultParameterValues.ps1"

# Import sub-modules
# Importing the required sub-modules
Import-Module -Name "$WinSecureDNSMgrModuleRootPath\Shared\Get-ActiveNetworkAdapterWinSecureDNS.psm1" -Force
Import-Module -Name "$WinSecureDNSMgrModuleRootPath\Shared\Get-IPv6DoHServerIPAddressWinSecureDNSMgr.psm1" -Force
Import-Module -Name "$WinSecureDNSMgrModuleRootPath\Shared\Get-IPv4DoHServerIPAddressWinSecureDNSMgr.psm1" -Force
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Function Get-IPv4DoHServerIPAddressWinSecureDNSMgr {
# Importing the $PSDefaultParameterValues to the current session, prior to everything else
. "$WinSecureDNSMgrModuleRootPath\MainExt\PSDefaultParameterValues.ps1"

# Importing the required sub-modules
Import-Module -Name "$WinSecureDNSMgrModuleRootPath\Shared\Get-DoHIPs.psm1" -Force

# An array to store IP addresses
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Function Get-IPv6DoHServerIPAddressWinSecureDNSMgr {
# Importing the $PSDefaultParameterValues to the current session, prior to everything else
. "$WinSecureDNSMgrModuleRootPath\MainExt\PSDefaultParameterValues.ps1"

# Importing the required sub-modules
Import-Module -Name "$WinSecureDNSMgrModuleRootPath\Shared\Get-DoHIPs.psm1" -Force

# An array to store IP addresses
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function Get-ManualNetworkAdapterWinSecureDNS {
# Importing the $PSDefaultParameterValues to the current session, prior to everything else
. "$WinSecureDNSMgrModuleRootPath\MainExt\PSDefaultParameterValues.ps1"

# Import the required modules
# Importing the required sub-modules
Import-Module -Name "$WinSecureDNSMgrModuleRootPath\Shared\ColorFunctions.psm1" -Force
}

Expand Down
2 changes: 1 addition & 1 deletion WinSecureDNSMgr/Utilities/Invoke-WinSecureDNSMgr.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
Import-Module -FullyQualifiedName "$ScriptFilePath\..\Module\WinSecureDNSMgr.psd1" -Force

# Run the commands below
# Set-DOH -DoHProvider Cloudflare -Verbose
# Set-DOH -Verbose

0 comments on commit 858feeb

Please sign in to comment.