Skip to content

Commit

Permalink
Use Get-LocalUser for Windows PBA instead of net user
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyamalviya committed Aug 24, 2020
1 parent f3924eb commit 1161a2a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
def get_windows_commands_to_discover_accounts():
return [
"net user"
]
return "powershell Get-LocalUser"

0 comments on commit 1161a2a

Please sign in to comment.