powershell import module 1

powershell import module

import-module "pathTOfile.ps1" -force

Here is what the above code is Doing:
1. Importing the module
2. Creating a new object of the class
3. Calling the method

Similar Posts