first commit

This commit is contained in:
2025-11-21 17:17:42 +01:00
commit 4cad18c2a5
285 changed files with 122106 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
Get-History
```powershell
(Get-PSReadlineOption).HistorySavePath
```
@@ -0,0 +1,14 @@
Installed Applications
Current running program
```powershell
Get-ItemProperty "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*" | select displayname
```
```powershell
Get-Process
```
@@ -0,0 +1,15 @@
```powershell
Get-ChildItem -Path C:\ -Include certutil* -File -Recurse -ErrorAction SilentlyContinue
```
```powershell
Get-ChildItem -Path C:\Users\ -Include *.txt,*.ini -File -Recurse -ErrorAction SilentlyContinue
```
```powershell
Get-ChildItem -Path C:\Users\mac\ -Include *.txt,*.pdf,*.xls,*.xlsx,*.doc,*.docx -File -Recurse -ErrorAction SilentlyContinue
```
+16
View File
@@ -0,0 +1,16 @@
Print all routes
All active connection
```dosbatch
route print
```
```dosbatch
netstat -ano
```
@@ -0,0 +1,40 @@
List groups for the current user
Get all users (powershell)
Get all Groups
Get members of a group
```dosbatch
whoami /groups
```
```powershell
Get-LocalUser
```
```powershell
Get-LocalGroup
```
```powershell
Get-LocalGroupMember GROUPNAME
```
```dosbatch
systeminfo
```
```dosbatch
runas /user:backupadmin cmd
```