Search found 8476 matches

by Alexander Riedel
Thu Mar 28, 2024 9:29 am
Forum: PowerShell
Topic: Supress output from a build file (.exe)
Replies: 2
Views: 56

Re: Supress output from a build file (.exe)

That is a progress message. You cannot pipe that to null.
Try this:
$ProgressPreference = 'SilentlyContinue'
by Alexander Riedel
Mon Mar 25, 2024 9:21 am
Forum: Customer Service
Topic: Windows Form with a service
Replies: 3
Views: 249

Re: Windows Form with a service

While there is a service attribute to let a service interact with the desktop, it is only used in very limited circumstances. The UI experience is jarring at best. Typically your service is UI-less. Another application, tray app, control panel applet etc is use to apply settings and control mechanis...
by Alexander Riedel
Mon Mar 25, 2024 9:15 am
Forum: PowerShell Studio
Topic: Build process triggers alerts from Windows Defender
Replies: 4
Views: 97

Re: Build process triggers alerts from Windows Defender

I have verified that the RCX*.tmp file is created by Windows when writing resources to a file.
If you like, I can send you a complete log from a build process on a verified and scanned machine.
by Alexander Riedel
Mon Mar 25, 2024 8:23 am
Forum: PowerShell Studio
Topic: Build process triggers alerts from Windows Defender
Replies: 4
Views: 97

Re: Build process triggers alerts from Windows Defender

Nowhere in the build process do we specify any file with a .tmp extension. It is (remotely) possible that Windows Resources API does that, I will check on that. https://www.trendmicro.com/vinfo/us/threat-encyclopedia/malware/Virus.Win32.NAPWHICH.B Has some more information on the file and where it m...
by Alexander Riedel
Sat Mar 23, 2024 12:28 am
Forum: PowerShell Studio
Topic: Virus warning installing Powershell Studio 2024
Replies: 2
Views: 74

Re: Virus warning installing Powershell Studio 2024

While our software is continuously monitored and checked with no alerts popping up, I went and double checked the current PowerShell Studio installer again. No threat was found during the install and no such file was created during install. Since you show a screenshot of the prerequisites wizard, it...
by Alexander Riedel
Thu Mar 21, 2024 9:43 am
Forum: PowerShell Studio
Topic: Build process triggers alerts from Windows Defender
Replies: 4
Views: 97

Re: Build process triggers alerts from Windows Defender

I know these type of things are always jarring. Below is my standard reply on the subject for completeness, but please read on. We have no control over your script, we cannot access your computer and we cannot control what Antivirus vendors enter in their databases. Very often these are false positi...
by Alexander Riedel
Tue Mar 19, 2024 12:38 am
Forum: PowerShell Studio
Topic: Error: Writing scripts to bin\x64\my.exe failed, error code 87, data size
Replies: 2
Views: 123

Re: Error: Writing scripts to bin\x64\my.exe failed, error code 87, data size

Error code 87 (you can find quite some references here in the forum) indicates "Parameter incorrect" which is basically a catch all error in Windows. It can point to corrupt file system or simply a file being in use by another process. Delete the output file. Reboot your system. Try again....
by Alexander Riedel
Mon Mar 18, 2024 2:37 pm
Forum: PowerShell Studio
Topic: Message: PowerShell cannot be instantiated
Replies: 4
Views: 167

Re: Message: PowerShell cannot be instantiated

The reason for this error are the custom entries you are adding to the .config file. If you remove them, the application executes as packaged. Please note that custom entries in a config file can be added to the <AppSettings> node. They should not be added outside of that node. Adding them outside i...
by Alexander Riedel
Mon Mar 18, 2024 1:47 pm
Forum: PowerShell Studio
Topic: get-service startuptype returns nothing
Replies: 5
Views: 107

Re: get-service startuptype returns nothing

foreach ($Service in get-service | Select-Object Name, Startuptype, Status) { $Name = $Service.name.ToUpper() $Start = $Service.StartupType $State = $service.status Write-Host "$Name $Start $State" } Running your code from above here in PowerShell Studio produces: BITS Manual Stopped
by Alexander Riedel
Mon Mar 18, 2024 1:39 am
Forum: PowerShell Studio
Topic: get-service startuptype returns nothing
Replies: 5
Views: 107

Re: get-service startuptype returns nothing

Please note that PowerShell Studio does not modify, amend or restrict any PowerShell objects. It also does not alter types and their properties under any circumstances.
Any code you execute within PowerShell Studio runs under the selected PowerShell version's engine.