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

Is there any way to target a different domain? #69

Open
dsolstad opened this issue May 5, 2021 · 1 comment
Open

Is there any way to target a different domain? #69

dsolstad opened this issue May 5, 2021 · 1 comment

Comments

@dsolstad
Copy link

dsolstad commented May 5, 2021

In essence I want to scan another domain with Get-SQLInstanceDomain, but it doesn't seem to be an argument to target another domain. Is there any other way?

@nullbind
Copy link
Collaborator

Short answer: Not cleanly.

However, you can target other domains by providing a domain controller for the desired domain. It works, but the function could use an update. I'll leave this one open.

Get-SQLInstanceDomain -DomainController dc1.targetdomain.com -Username domain\username -Password password123

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