Skip to content

Commit 1e4cc15

Browse files
Update PowerShell-OneLiners.txt
1 parent 22678e4 commit 1e4cc15

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

PowerShell-OneLiners.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1+
PowerVeiw and output localy to disk for beacon:
2+
powershell -no -exec bypass -command "& {Import-Module .\PowerView.ps1; Invoke-UserHunter USRNAME | Out-File -Encoding Ascii USERNAME.txt}"
3+
4+
Powerview UserHunting Search by keyword:
5+
powershell Get-NetUser -Filter "(description=*medical*)" | Select-Object -Prop samaccountname.description,title
6+
powershell Get-NetUser -Filter "(title=*medical*)" | Select-Object -Prop samaccountname.description,title
17

0 commit comments

Comments
 (0)