Skip to content

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

Open

Description

@dsolstad

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?

Activity

  1. nullbind commented on Aug 21, 2021

    @nullbind
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions