Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SELECT System.ItemPathDisplay,System.FileOwner,System.Size,System.DateCreated,System.DateAccessed,System.Search.Autosummary FROM SystemIndex WHERE Contains(*, '""*{0}*""') AND SCOPE = '{1}' AND (System.FileExtension = '.txt' OR System.FileExtension = '.doc' OR System.FileExtension = '.docx' OR System.FileExtension = '.ppt' OR System.FileExtension = '.pptx' OR System.FileExtension = '.xls' OR System.FileExtension = '.xlsx' OR System.FileExtension = '.ps1' OR System.FileExtension = '.vbs' OR System.FileExtension = '.config' OR System.FileExtension = '.ini')"
SELECT * FROM win32_networkconnection"
Select * from Win32_ComputerSystem"
SELECT * FROM Win32_DeviceGuard"
SELECT * FROM win32_service"
SELECT * FROM AntiVirusProduct"
SELECT * FROM MSFT_DNSClientCache"
SELECT ProcessId, ExecutablePath, CommandLine FROM Win32_Process"
SELECT * FROM Win32_Process"
SELECT * FROM Win32_Process WHERE SessionID != 0"
SELECT * FROM MSFT_ScheduledTask"
SELECT * from Win32_Printer"
SELECT Name, State FROM win32_service WHERE Name = 'AppIDSvc'"
SELECT * FROM Win32_Process"
SELECT * FROM Win32_Share"
SELECT * FROM Win32_LoggedOnUser"
SELECT * FROM Win32_LogonSession"
SELECT * FROM Win32_Process"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment