Search found 13 matches

by lpalacio
Tue Jan 30, 2018 1:34 pm
Forum: PowerShell Studio
Topic: Get-Process Missing Exe Properties
Replies: 7
Views: 4250

Re: Get-Process Missing Exe Properties

Nvm my last post. The issue ended up being UAC, the PS instance had to be running with admin privileges to retrieve all the properties from the object.
by lpalacio
Sat Jan 27, 2018 4:43 pm
Forum: PowerShell Studio
Topic: Get-Process Missing Exe Properties
Replies: 7
Views: 4250

Re: Get-Process Missing Exe Properties

I figured it out. It turns out that if I pipe Get-Process (without a filter) to Where-Object the properties aren't there.

If I filter from Get-Process then the properties are there.

Thanks for the assist.
by lpalacio
Wed Jan 24, 2018 8:44 am
Forum: PowerShell Studio
Topic: Get-Process Missing Exe Properties
Replies: 7
Views: 4250

Re: Get-Process Missing Exe Properties

See screenshot below.

https://imgur.com/a/kV8DZ

On the first post I marked the properties that are missing with "MISSING??"

Thanks.
by lpalacio
Tue Jan 23, 2018 6:31 am
Forum: PowerShell Studio
Topic: Get-Process Missing Exe Properties
Replies: 7
Views: 4250

Get-Process Missing Exe Properties

I have a compiled script and I'm adding some features to allow automatic updates and prevention of multiple executable executions but when I run Get-Process against the currently running exe it doesn't return all the properties correctly even if I filled them out in the compiler window. For example:...
by lpalacio
Sun Dec 10, 2017 12:41 pm
Forum: PowerShell Studio
Topic: Windows Service not Stopping
Replies: 8
Views: 3299

Re: Windows Service not Stopping

Actually I just did some more testing and Windows is complaining that the service is not responding to the stop command. Not sure if that makes a difference.
by lpalacio
Wed Dec 06, 2017 10:46 pm
Forum: PowerShell Studio
Topic: Windows Service not Stopping
Replies: 8
Views: 3299

Re: Windows Service not Stopping

Correct, as far as windows is concerned the service is stopped.
by lpalacio
Tue Dec 05, 2017 6:02 pm
Forum: PowerShell Studio
Topic: Windows Service not Stopping
Replies: 8
Views: 3299

Re: Windows Service not Stopping

I created an empty executable with only a blank loop thinking that something on my code was causing the issue and even this wouldn't kill the running executable when stopping the service on windows. while($true){} I even tried it with the solitaire killer in the blog example below and that didn't st...
by lpalacio
Tue Dec 05, 2017 8:38 am
Forum: PowerShell Studio
Topic: Windows Service not Stopping
Replies: 8
Views: 3299

Re: Windows Service not Stopping

Do I need to add code to interact with the OnStop method in order for the executable to stop?

https://msdn.microsoft.com/en-us/librar ... .110).aspx
by lpalacio
Mon Dec 04, 2017 4:01 pm
Forum: PowerShell Studio
Topic: Windows Service not Stopping
Replies: 8
Views: 3299

Windows Service not Stopping

To help you better we need some information from you. *** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. *** Product, version and build: PowerShell Studio ...
by lpalacio
Mon Dec 04, 2017 7:50 am
Forum: PowerShell Studio
Topic: Prevent EXE Decompilation
Replies: 1
Views: 979

Prevent EXE Decompilation

I was reading this post

viewtopic.php?f=12&p=63359

And I was wondering how to prevent this. Is there a way to flag an executable so that support will not decompile it on request?