Multiple changes

- Check output
- Updated list generation
- Started subdomain takeover check module
This commit is contained in:
Jurjen Ladenius
2021-08-12 10:42:44 +02:00
parent b1baac0da2
commit 2c6e8cede3

View File

@@ -0,0 +1,22 @@
function Get-EffectoryDomainResources {
<#
.SYNOPSIS
Find dangling DNS records
.DESCRIPTION
Compares DNS bindings with a previous state and checks the existence of DNS records for bindings that may have been deleted.
.PARAMETER subscriptionId
Optional Subscription Id to set the context to. Otherwise uses the current context.
#>
param(
[Parameter()]
[string] $subscriptionId
)
$subscription = Get-AzContext
if (![string]::IsNullOrWhitespace($subscriptionId)) {
$subscription = Set-AzContext -SubscriptionId $subscriptionId
}
Write-Host "foo"
}