Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :: Windows Enumerations
- Get-WMIObject -Class Win32_UserAccount -filter "LocalAccount = True" | Select Caption, FullName, Domain, LocalAccount, AccountType | sort AccountType
- function Global:prompt {"PS [$Env:username]$PWD`n>"}
- Get-Service | out-host -paging
- $errors = Get-EventLog System | Where EventType -eq Error | Sort-Object Time -descending
- $errors[0..10]
- Get-Item -Path Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion | Select-Object -ExpandProperty PropertyÉ
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement