Windows Enumeration
Users
Display User Info
net user johnCheck Permissions for the current User
whoami /privCheck Groups for the current User
whoami /groupsSystem
systeminfoLists all installed Windows updates
wmic qfeCheck all scheduled tasks settings
schtasks /query /fo LIST /vShow tasks that are actively scheduled
(schtasks /query /fo LIST /v | Out-String) -split "`r`n`r`n" | Where-Object { $_ -match "Repeat: Every:" -and $_ -notmatch "Repeat: Every:\s+(N/A|Disabled)" } | ForEach-Object {
Write-Output (($_ | Select-String "TaskName:").Line)
Write-Output (($_ | Select-String "Repeat: Every:").Line)
Write-Output ""
}Last updated