From 447c03d409a68883d003f80b931359052f025e91 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Mon, 6 Jul 2026 01:31:36 +0200 Subject: [PATCH 1/2] Fix README placeholders --- README.md | 58 +++++++++++++++---------------------------------------- 1 file changed, 16 insertions(+), 42 deletions(-) diff --git a/README.md b/README.md index 6319793..bf7a453 100644 --- a/README.md +++ b/README.md @@ -1,69 +1,43 @@ -# {{ NAME }} +# Dns -{{ DESCRIPTION }} +Dns is a PowerShell module for resolving host names from PowerShell scripts and automation. ## Prerequisites -This uses the following external resources: -- The [PSModule framework](https://github.com/PSModule/Process-PSModule) for building, testing and publishing the module. +- PowerShell with `Microsoft.PowerShell.PSResourceGet` available for `Install-PSResource`. +- The [PSModule framework](https://github.com/PSModule) is used for building, testing, and publishing the module. ## Installation -To install the module from the PowerShell Gallery, you can use the following command: +Install the module from the PowerShell Gallery: ```powershell -Install-PSResource -Name {{ NAME }} -Import-Module -Name {{ NAME }} +Install-PSResource -Name Dns +Import-Module -Name Dns ``` -## Usage +## Commands -Here is a list of example that are typical use cases for the module. +- `Resolve-DnsHost` resolves a host name with `[System.Net.Dns]` and returns a structured `DnsHost` object. -### Example 1: Greet an entity +## Usage -Provide examples for typical commands that a user would like to do with the module. +Resolve a host name: ```powershell -Greet-Entity -Name 'World' -Hello, World! +Resolve-DnsHost -Name 'github.com' ``` -### Example 2 - -Provide examples for typical commands that a user would like to do with the module. +Resolve a host name for a specific address family: ```powershell -Import-Module -Name PSModuleTemplate +Resolve-DnsHost -Name 'github.com' -AddressFamily InterNetwork ``` -### Find more examples - -To find more examples of how to use the module, please refer to the [examples](examples) folder. - -Alternatively, you can use the Get-Command -Module 'This module' to find more commands that are available in the module. -To find examples of each of the commands you can use Get-Help -Examples 'CommandName'. - ## Documentation -Link to further documentation if available, or describe where in the repository users can find more detailed documentation about -the module's functions and features. +Command documentation is published at [psmodule.io/Dns](https://psmodule.io/Dns/). ## Contributing -Coder or not, you can contribute to the project! We welcome all contributions. - -### For Users - -If you don't code, you still sit on valuable information that can make this project even better. If you experience that the -product does unexpected things, throw errors or is missing functionality, you can help by submitting bugs and feature requests. -Please see the issues tab on this project and submit a new issue that matches your needs. - -### For Developers - -If you do code, we'd love to have your contributions. Please read the [Contribution guidelines](CONTRIBUTING.md) for more information. -You can either help by picking up an existing issue or submit a new one if you have an idea for a new feature or improvement. - -## Acknowledgements - -Here is a list of people and projects that helped this project in some way. +Issues and pull requests are welcome. Please use the repository issue tracker to report bugs, request features, or discuss improvements. From 98eb23f0f7dcca8a4d22e614bf3ab9600ba83247 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Mon, 6 Jul 2026 08:26:44 +0200 Subject: [PATCH 2/2] Standardize README landing page --- README.md | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index bf7a453..2f10238 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,6 @@ # Dns -Dns is a PowerShell module for resolving host names from PowerShell scripts and automation. - -## Prerequisites - -- PowerShell with `Microsoft.PowerShell.PSResourceGet` available for `Install-PSResource`. -- The [PSModule framework](https://github.com/PSModule) is used for building, testing, and publishing the module. +Dns is a PowerShell module for managing DNS tasks. ## Installation @@ -16,28 +11,17 @@ Install-PSResource -Name Dns Import-Module -Name Dns ``` -## Commands - -- `Resolve-DnsHost` resolves a host name with `[System.Net.Dns]` and returns a structured `DnsHost` object. +## Documentation -## Usage +Documentation is published at [psmodule.io/Dns](https://psmodule.io/Dns/). -Resolve a host name: +Use PowerShell help and command discovery for module details: ```powershell -Resolve-DnsHost -Name 'github.com' +Get-Command -Module Dns +Get-Help -Examples ``` -Resolve a host name for a specific address family: - -```powershell -Resolve-DnsHost -Name 'github.com' -AddressFamily InterNetwork -``` - -## Documentation - -Command documentation is published at [psmodule.io/Dns](https://psmodule.io/Dns/). - ## Contributing Issues and pull requests are welcome. Please use the repository issue tracker to report bugs, request features, or discuss improvements.