Skip to content

Commit

Permalink
Merge pull request EricZimmerman#751 from vxsh4d0w/master
Browse files Browse the repository at this point in the history
Module Local Group list extraction
  • Loading branch information
AndrewRathbun authored Jan 23, 2023
2 parents 55d0a47 + 5face66 commit 9f33373
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Modules/Windows/Powershell_Local_Group_List.mkape
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Description: Gathers detailed list of local groups
Category: LiveResponse
Author: Vito Alfano
Version: 1.0
Id: 0472b243-8739-4dee-991d-19940ce5bbda
ExportFormat: csv
Processors:
-
Executable: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
CommandLine: -Command " Get-LocalGroup | Select Name, SID, Description | Export-Csv -Path %destinationDirectory%\Local_Group_List.csv -NoTypeInformation "
ExportFormat: csv

# Documentation
# https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.localaccounts/get-localgroupmember?view=powershell-5.1

0 comments on commit 9f33373

Please sign in to comment.