Search found 25 matches

by jdainsworth
Thu Dec 14, 2023 8:58 am
Forum: PowerShell Studio
Topic: Invalid command line error when installing PowerShell Studio 2023 Prereqs
Replies: 2
Views: 14838

Invalid command line error when installing PowerShell Studio 2023 Prereqs

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 jdainsworth
Tue Jan 31, 2023 5:41 pm
Forum: PowerShell Studio
Topic: Windows Service in Powershell 7.*
Replies: 1
Views: 6906

Windows Service in Powershell 7.*

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: PowersShell Studio...
by jdainsworth
Wed Jan 12, 2022 10:52 am
Forum: PowerShell Studio
Topic: New PowerShell modules have either been installed on your system or have been updated.
Replies: 9
Views: 6530

Re: New PowerShell modules have either been installed on your system or have been updated.

I have updated to:
Product: PowerShell Studio 2022 (64 Bit)
Build: v5.8.198
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.22526.0

I don't seem to be getting it recurring, however it is happening each time i open PowerShell Studio, regardless of any changes to modules.
by jdainsworth
Tue Jan 11, 2022 5:04 pm
Forum: PowerShell Studio
Topic: New PowerShell modules have either been installed on your system or have been updated.
Replies: 9
Views: 6530

New PowerShell modules have either been installed on your system or have been updated.

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: PowerShell Studio 2022 (64 Bit) Build...
by jdainsworth
Mon May 03, 2021 9:40 am
Forum: PowerShell
Topic: System Tray Application
Replies: 2
Views: 7816

System Tray Application

I am working on a System Tray Application that i am developing in PowerShell Studio. I would like to execute some cleanup code if someone clicks on the exit menu item. I was hoping i might be able to do it with a powershell.exiting event, but that event doesn't appear to fire.

Any advice on that?
by jdainsworth
Tue Apr 14, 2020 12:00 pm
Forum: PowerShell Studio
Topic: Proper way to forcefully terminate a compiled service script
Replies: 6
Views: 2031

Re: Proper way to forcefully terminate a compiled service script

Adding this function, and calling it in my Errorhandler when appropriate works. Thanks,

Code: Select all

FUNCTION Invoke-ForceServiceKill {
	[CmdletBinding()] 
	PARAM ( ) 
	stop-myservice 
	$process = Get-Process -id $pid 
	$null = $process.Kill()
}
by jdainsworth
Tue Apr 14, 2020 11:41 am
Forum: PowerShell Studio
Topic: Proper way to forcefully terminate a compiled service script
Replies: 6
Views: 2031

Re: Proper way to forcefully terminate a compiled service script

That was going to be the next thing I tried, but hoped there might be a "official" way to do so.

Thanks,