List-PowershellModules
Lists the PowerShell modules
try {
Get-Module | Format-Table -property Name,Version,ModuleType,ExportedCommands
exit 0 # success
} catch {
"?? ERROR: $($Error[0]) (script line $($_.InvocationInfo.ScriptLineNumber))"
exit 1
}This script has no configurable parameters.