News for hackers. Stuff that matters.
Re:DTrace on Windows by tracker1 on Monday March 11, 2019 @04:54PM (#19362708)

    PS> $lockedFile="C:\Windows\System32\wshtcpip.dll"
    PS> Get-Process | foreach{$processVar = $_;$_.Modules | foreach{if($_.FileName -eq $lockedFile){$processVar.Name + " PID:" + $processVar.id}}}
Re:DTrace on Windows by jodrellblank on Monday March 11, 2019 @08:18PM (#19364209)

    PS C:\> gps |? {$_.Modules.FileName -match "wshtcpip\.dll"} | select name, id
Re:DTrace on Windows by felixfbecker on Monday March 11, 2019 @06:04PM (#19363322)
That foreach looks like it should really be a where
Re:DTrace on Windows by tracker1 on Monday March 11, 2019 @07:04PM (#19363751)
It was copied from stackoverflow... apologies, I just knew it was possible.