Invoke-Nanodump
Invoke-Nanodump copied to clipboard
Excuse me, what is the execution parameter?
PS E:\Invoke-Nanodump-main> .\Invoke-Nanodump.ps1 --write E:\Invoke-Nanodump-main\doc.dmp
Usage: Invoke-NanoDump
PS E:\Invoke-Nanodump-main> .\Invoke-Nanodump.ps1
Usage: Invoke-NanoDump
Excuse me, what is the execution parameter?
You're "dot sourcing" the file, which runs the file. What that does is sets up the function "Invoke-Nanodump" and that's it.
Try this:
Import-Module Invoke-Nanodump.ps1
Invoke-Nanodump
Be sure that the second line is the function "Invoke-Nanodump" and does not include the "." at the beginning or ".ps1" at the end.
Thank u! my problem is solved.