Comments (10)
Hello dlimanov,
I've tested now on Win8.1 x64 and have not noticed any issue.
Does it just hang after the ASCII art? If that is the case it may still be searching in memory (The more browser tabs you have open, the longer it will take to complete the script) - Note: I've had it take up to 4-5 minutes with a lot of tabs open in Chrome.
In order to do more controlled testing you may want to limit the process scope by only targeting a single process in line 532
$matchesFound=[mimikittenz.MemProcInspector]::InspectManyProcs("chrome")
from mimikittenz.
Hi Putterpanda,
Thank you for replying! That's the thing, even the ASCII graphics don't load; it's like nothing happens whatsoever, as if PowerShell doesn't know what to do with the script. I'll check Event Viewer to see if there are any relevant events that hopefully will shed some light on this issue.
On Jul 19, 2016, at 8:55 PM, putterpanda [email protected] wrote:
Hello dlimanov,
I've tested now on Win8.1 x64 and have not noticed any issue.
Does it just hang after the ASCII art? If that is the case it may still be searching in memory (The more browser tabs you have open, the longer it will take to complete the script) - Note: I've had it take up to 4-5 minutes with a lot of tabs open in Chrome.
In order to do more controlled testing you may want to limit the process scope by only targeting a single process in line 532
$matchesFound=[mimikittenz.MemProcInspector]::InspectManyProcs("chrome")
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
from mimikittenz.
This is super weird, I just tried on both Win7 and 8.1 and while Event Viewer registers script execution (Event ID 4104, Source: PowerShell), still nothing is being displayed in the PowerShell command window (or ISE for that matter, I tried that as well); not ASCII, no errors, nothing.
You don't happen to have a video of the script executing on your system, do you?
from mimikittenz.
Hey dilmanov,
The ps1 file contains just the function itself and doesn't call it directly, you'll need to modify the ps1 to also call the function, or dot source into a module file.
Alternatively, you can remove the function header and closing curly brace and call the script file directly.
from mimikittenz.
@ dlimanov Ah hehe, did not even realize that you were not calling the function Invoke-mimikittenz
(My bad)
The reason I wrote the script like this is because I plan to add additional functions to the script.
If you want it to run the way your trying you can follow Dangles91
recommendations or you can simply add Invoke-mimikittenz;
at the bottom of the script on it's own line.
from mimikittenz.
==> #2 How to run it
PS C:> Set-ExecutionPolicy RemoteSigned
http://www.howtogeek.com/106273/how-to-allow-the-execution-of-powershell-scripts-on-windows-7/
3 options:
- Call the function from the file (=> last line)
function Invoke-mimikittenz
{
/* code */
write-output $asciiart
$matches=[mimikittenz.MemProcInspector]::InspectManyProcs("iexplore","chrome","firefox")
write-output $matches
}
Invoke-mimikittenz
- Invoke the functions from the file
PS C:> powershell -command "& { . C:\foo\bar\Invoke-mimikittenz.ps1; Invoke-mimikittenz }"
- Load the file and call the function
PS C:\foo\bar> .\Invoke-mimikittenz.ps1
PS C:\foo\bar> Invoke-mimikittenz
from mimikittenz.
Gosh do I feel stupid! Sorry to waste the time guys..
from mimikittenz.
Haha all good mate, I might know powershell, but the reason I know what was wrong, is because I did the exact same thing XD
from mimikittenz.
No problem dlimanov, thanks for the feedback any way.
from mimikittenz.
Please add this info to the README file. I wasted too much time to find this in a closed issue.
Also, please provide the output of Get-ExecutionPolicy -List
when it is working.
from mimikittenz.
Related Issues (15)
- Feature Request HOT 6
- Feature Requests
- some problem with the script HOT 9
- NO WORK!!!... HOT 9
- Not Working HOT 1
- please make update!
- Not working anymore? (after Windows 10 Update) HOT 2
- How run it HOT 13
- AsciiArt looks ugly HOT 6
- Bad output HOT 2
- Truncated results HOT 9
- JIRA regex missing HOT 1
- README is misleading HOT 2
- Feature request - cookies HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mimikittenz.