Invoke-Nanodump icon indicating copy to clipboard operation
Invoke-Nanodump copied to clipboard

Excuse me, what is the execution parameter?

Open MsR0bots opened this issue 2 years ago • 2 comments

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?

MsR0bots avatar Feb 17 '23 08:02 MsR0bots

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.

NotMedic avatar Feb 17 '23 15:02 NotMedic

Thank u! my problem is solved.

MsR0bots avatar Feb 21 '23 08:02 MsR0bots