Skip to content

Commit

Permalink
Create Audit-Group-Membership.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
rswio authored Jan 26, 2025
1 parent 6b536cc commit cb0d7db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Active Directory/Audit-Group-Membership.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$GroupName = "Domain Admins" # Replace with the group name
Get-ADGroupMember -Identity $GroupName | Select-Object Name, SamAccountName

0 comments on commit cb0d7db

Please sign in to comment.