PowerShell - Check If Module Is Loaded

ben himself's picture

This is how to check if a particular module is loaded, and if it's not then load it. SQLPS is the module used in the example, but you can replace that with any module name.

Tags: 

Categories: