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!!!!!!
-1
Answers
Import-Module.
but
Import-Module
(remove the dot, or put it somewhere else)
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
New-SelfSignedCertificateEx.ps1
file, and put it in c:\temp
Import-Module 'c:\temp\New-SelfSignedCertificateEx.ps1'
I did it but it still does not work
What @TallyHo is writhing should be working. Try adding screenshots of what you are doing and what messages you are getting.
after some attempt to walk
thank you for your attention