Added comprehensive cmdlet documentation and updated module version to 2025.04.15.1033

This commit is contained in:
GraceSolutions
2025-04-15 10:34:20 -04:00
parent 3936e6bb5d
commit 013f1ba4a9
94 changed files with 11418 additions and 1 deletions
+45
View File
@@ -0,0 +1,45 @@
# Get-OPNSenseSystemDNS
## SYNOPSIS
Gets system DNS settings from an OPNSense firewall.
## SYNTAX
```
Get-OPNSenseSystemDNS
```
## DESCRIPTION
The Get-OPNSenseSystemDNS cmdlet retrieves system DNS settings from an OPNSense firewall, including DNS servers and domain search list.
## EXAMPLES
### Example 1: Get system DNS settings
```powershell
Get-OPNSenseSystemDNS
```
This example retrieves the system DNS settings from the OPNSense firewall.
## PARAMETERS
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
### None
## OUTPUTS
### System.Object
Returns an object representing the system DNS settings, including DNS servers and domain search list.
## NOTES
This cmdlet requires a connection to an OPNSense firewall. Use Connect-OPNSense to establish a connection.
## RELATED LINKS
[Set-OPNSenseSystemDNS](Set-OPNSenseSystemDNS.md)
[Get-OPNSenseDNSServer](Get-OPNSenseDNSServer.md)
[Set-OPNSenseDNSServer](Set-OPNSenseDNSServer.md)