Skip to content

Restore-HallengrenBackups.ps1 - Test-SQLSA Function - Sysadmin check fails if User is a member of an AD Group with SysAdmin permissions #2

@dougjjj

Description

@dougjjj

If the user running the script is a SysAdmin via an AD Group, the function will report they do not have permissions to run the restore process.

I'm looking into options to check User is a member any AD Groups with SysAdmin rights

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