ForceDomainTakeover

1.0.5

This script automates the process for external takeover / force takeover.


Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name ForceDomainTakeover

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Package Details

Author(s)

  • Timothy McMichael

Functions

new-LogFile Out-LogFile WriteXMLFile WriteJsonFile CheckGraphEnvironment CheckGraphTenantID CheckGraphURL CheckMSGraph ConnectMSGraph WriteMGContext CheckDomainName TestDomainName GetM365DNSRecords TestDNSRecords GetPublicDNS GetMSGraphCall TakeOverDomain IsDomainViral

Dependencies

This script has no dependencies.

Release Notes

# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @(
@{ModuleName = 'Microsoft.Graph.Authentication' ; ModuleVersion = '2.28.0'}
)

FileList

Version History

Version Downloads Last updated
1.0.5 (current version) 4 6/7/2025
1.0.4 2 6/6/2025
1.0.3 7 6/6/2025
1.0.1 4 6/4/2025
1.0 4 6/4/2025