Display DLLs loaded by process

Version: 1.0.2
Creator Name: ControlUp Support
Date Created: 2014-04-01
Date Modified: 2014-04-01
Scripting language: PS
Download Count: 589

For every selected process, displays the list of DLLs currently loaded
Tags: DLL,PowerShell

The Script

Try {
    $Modules = (Get-Process -PID $args[0] -ErrorAction Stop).Modules
}
Catch {
    $_ | fl *
    Exit 1
}

$Modules | ft FileName