About 122,000 results
Open links in new tab
  1. Powershell import-module doesn't find modules - Stack Overflow

    import-module XMLHelpers It doesn't work and I get the error: Import-Module : The specified module 'xmlhelpers' was not loaded because no valid module file was found in any module …

  2. 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 …

  3. 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 …

  4. PowerShell - How to Import-Module in a Runspace - Stack Overflow

    PowerShell - How to Import-Module in a Runspace Asked 14 years, 6 months ago Modified 5 years ago Viewed 40k times

  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 - How to disable the warning about unapproved verbs …

    Dec 20, 2018 · Import-Module -DisableNameChecking Quoting the Import-Module documentation: -DisableNameChecking Indicates that this cmdlet suppresses the message that warns you …

  7. powershell - 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, 2 months ago Modified 13 days ago …

  8. PowerShell module - pass a parameter while importing module

    Dec 26, 2018 · In the below sample module file, is there a way to pass the myvar value while importing the module. For example, import-module -name .\\test.psm1 -?? pass a parameter? …

  9. powershell - Is there ever a reason to explicitly Import-Module ...

    Mar 11, 2015 · To import a module from a remote computer (with the -PSSession parameter ) The list is not totally exhaustive but these are the main use cases for the Import-Module cmdlet.

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

    2 You can add on the top of any PowerShell script file. The path is always relative to the script you put the in. NOTE: Always use backslashes as the path separator. Even in Linux.