< Back

Get-AllDNSRecords

Sat Jan 18, 2020 4:58 pm

NAME Get-AllDNSRecords



SYNOPSIS

Gets all the A records of the given DNS zone





SYNTAX

Get-AllDNSRecords [-ComputerName] <String> -Zone <String> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

This function gets all the A Records of a DNS zone and returns them in a variable. To run this function the

dnsserver powershell module must be installed.





PARAMETERS

-ComputerName <String>

Provide a DNS server hosting the DNS zone



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Zone <String>

Provide a DNS server hosting the DNS zone



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.String





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-AllDNSRecords -dnsserver dc01.contoso.com -dnszone contoso.com















RELATED LINKS





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Get-RDLicenseReport; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Get-RDLicenseReport [-ComputerName] <Object> [<CommonParameters>]



ModuleName : MZN.Common

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Get-RDLicenseReport

Category : Function

Component :

Role :

Functionality :