File System Reconnaissance
Recursively enumerate files within the current directory and its children. For each file search within its content for a specific string of interest.
Get-ChildItem -Recurse -ErrorAction Ignore | Select-String -Pattern "flag[0-9][-|_][0-9]" -ErrorAction IgnoreRecursively enumerate files within the current directory and its children. Display the file name (and additional information) for each file where the "lastwritetime" attribute is greater than the date specified.
Get-ChildItem -Recurse -ErrorAction Ignore | Where-Object { $_.lastwritetime -gt [datetime]"2017/05/01" }Last updated
Was this helpful?