---
title: "Collect PowerShell Modules"
---
Collects the names and versions of PowerShell modules installed on a server.
Collect-PsModules [DefaultArgument] ();
This operation may be prefixed with PowerShell::
, although this is a built-in namespace and isn't really necessary.