You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Used by As Built Report to retrieve Azure DNS Private Resolver information
5
+
.DESCRIPTION
6
+
7
+
.NOTES
8
+
Version: 0.1.0
9
+
Author: Tim Carman
10
+
Twitter: @tpcarman
11
+
Github: tpcarman
12
+
.EXAMPLE
13
+
14
+
.LINK
15
+
16
+
#>
17
+
[CmdletBinding()]
18
+
param (
19
+
)
20
+
21
+
begin {
22
+
Write-PScriboMessage"DnsPrivateResolver InfoLevel set at $($InfoLevel.DnsPrivateResolver)."
23
+
}
24
+
25
+
process {
26
+
Try {
27
+
if ($InfoLevel.DnsPrivateResolver-gt0) {
28
+
$AzDnsPrivateResolvers=Get-AzDnsResolver|Sort-Object Name
29
+
if ($AzDnsPrivateResolvers) {
30
+
Write-PscriboMessage"Collecting Azure DNS Private Resolver information."
31
+
Section -Style Heading4 'DNS Private Resolver' {
32
+
if ($Options.ShowSectionInfo) {
33
+
Paragraph "Azure Private DNS Resolver is a service that securely resolves DNS queries for private resources in Azure VNets, enabling seamless communication between on-premises and cloud environments without exposing traffic to the public internet. It centralises DNS management and supports hybrid cloud architectures."
Paragraph "An Azure subscription is a logical container used to provision resources in Azure. It holds the details of all your resources like virtual machines (VMs), databases, and more. When you create an Azure resource like a VM, you must identify the subscription it belongs to."
0 commit comments