Display DLLs loaded by process

For every selected process, displays the list of DLLs currently loaded
Version 1.0.2
Created on 2014-04-01
Modified on 2014-04-01
Created by ControlUp Support
Downloads: 715

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

$Modules | ft FileName