Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception Calling SendRequest #3

Open
ac3lives opened this issue Jul 18, 2018 · 2 comments
Open

Exception Calling SendRequest #3

ac3lives opened this issue Jul 18, 2018 · 2 comments

Comments

@ac3lives
Copy link

ac3lives commented Jul 18, 2018

When using New-ADIDNSNode -Node * -Tombstone -Verbose, I receive the error message:

'Exception calling sendRequest with (1) arguments. The object does not exist'

This is from a domain joined machine. Looking through the Powermad.ps1 file, this error message does not appear to be thrown directly from the script, but instead the SendMethod method called.

@Kevin-Robertson
Copy link
Owner

I'm guessing the zone isn't in the default DomainDNSZones location. You can try the other two locations (ForestDNSZone,System) by using the Partition parameter.

If that doesn't work, I would verify the correct distinguished name with ADSI Edit. All of the functions will take a full distinguished name.

@Kevin-Robertson
Copy link
Owner

I added a function named Get-ADIDNSZone that should help determine the correct partition to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants