About 91,300 results
Open links in new tab
  1. powershell - Difference between using module, Import-Module, …

    Jul 20, 2021 · Import-Module is the original, introduced in PowerShell 2.0 to support module development. #Requires -Modules was introduced in PowerShell 3.0 to prevent scripts from …

  2. Powershell import-module doesn't find modules - Stack Overflow

    To load it, I have to Import-Module C:\MyModules\ExampleModule Interestingly, in both cases, doing Get-Module -ListAvailable, shows the modules, but it won't import. Although, the …

  3. powershell - relative path in Import-Module - Stack Overflow

    2 You can add using module ..\path\to\module on the top of any PowerShell script file. The path is always relative to the script you put the using statement in. NOTE: Always use backslashes as …

  4. How do I force powershell to reload a custom module?

    Sep 10, 2016 · I've found I basically need to restart my powershell terminal to clear it. If classes are not involved use import-module OR install-module. In both cases you can do a get …

  5. import module - Powershell Operation Blocked By Execution Policy ...

    Jun 18, 2020 · Import-Module PowerShellGet Gives the following error: The file was skipped because of the following validation exception: File C:\program …

  6. PowerShell runtime exception - "could not load file or assembly"

    Dec 10, 2012 · Import-Module : Could not load file or assembly 'file:/// *dll path*' or one of its dependencies. An attempt was made to load a program with an incorrect format. At *script …

  7. PowerShell Import-Module vs Dot Sourcing - Stack Overflow

    Feb 15, 2013 · In PowerShell V3 one does not have to call Import-Module in order to use module's exported commands. This is especially useful when commands are used …

  8. windows server 2008 - Import-Module : The specified module ...

    Import-Module : The specified module 'activedirectory' was not loaded because no valid module file was found in any module directory Asked 12 years ago Modified 14 days ago Viewed 257k …

  9. PowerShell Install-Module Local vs CurrentUser - Stack Overflow

    Feb 16, 2020 · Install-Module installs the necessary files to your computer to run/load the module. Either to your profile path or to the program files folder. Import-Module loads an available …

  10. How do I check if a PowerShell module is installed?

    Feb 26, 2015 · If you are importing libraries using Import-Module and a custom dll file, don't use the -ListAvailable option to determine if the module is installed because it won't be listed. …