NAVUSERPASSWORD

ModiboModibo Member Posts: 33
Hello
I have an error message when I use the command PowerShell the following

Import-Module. \ New-SelfSignedCertificateEx.ps1

here is the error message that appears

Import-Module. : The term "Import-Module." Is not recognized as a cmdlet name, function, script file, or executable program. Check the spelling of the name, or if a path exists,
check that the path is correct and try again.
To the line character: 1: 1
+ Import-Module. \ New-SelfSignedCertificateEx.ps1
+ ~~~~~~~~~~~~~~
+ CategoryInfo: ObjectNotFound: (Import-Module.:String) [], CommandNotFoundException
+ FullyQualifiedErrorId: CommandNotFoundException


can someone help me please it's urgent!!!!!!

Answers

  • TallyHoTallyHo Member Posts: 383
    Do not use
    Import-Module.

    but

    Import-Module

    (remove the dot, or put it somewhere else)

  • ModiboModibo Member Posts: 33
    Hello,

    I tried it otherwise here is the error message that appears


    PS C: \ Users \ Administrator.PYRAMISSRV> import-module
    Import-Module cmdlet at position 1 of the command pipeline
    Provide values ​​for the following parameters:
    Name [0]: New-SelfSignedCertificateEx.ps1
    Name [1]:
    import-module: The specified module "New-SelfSignedCertificateEx.ps1" was not loaded because no valid module file was found in a module directory.
    To the line character: 1: 1
    + import-module
    + ~~~~~~~~~~~~~
    + CategoryInfo: ResourceUnavailable: (New-SelfSignedCertificateEx.ps1: String) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId: Modules_ModuleNotFound, Microsoft.PowerShell.Commands.ImportModuleCommand
  • TallyHoTallyHo Member Posts: 383
    Search for your
    New-SelfSignedCertificateEx.ps1
    file, and put it in c:\temp

    Import-Module 'c:\temp\New-SelfSignedCertificateEx.ps1'

  • ModiboModibo Member Posts: 33

    I did it but it still does not work
  • SanderDkSanderDk Member Posts: 497
    Hi @Modibo,
    What @TallyHo is writhing should be working. Try adding screenshots of what you are doing and what messages you are getting.
    For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.
  • ModiboModibo Member Posts: 33
    Hi @TallyHo and @SanderDk

    after some attempt to walk
    thank you for your attention
Sign In or Register to comment.