Search found 9 matches

by xmerlin
Thu May 12, 2022 2:48 am
Forum: PowerShell
Topic: Error handling calling a converted script to exe from a script specifying a wrong named parameter
Replies: 4
Views: 2392

Re: Error handling calling a converted script to exe from a script specifying a wrong named parameter

Then I tried the following snippet and strangely enough the error appears on stdout? and exit code = 0 $pinfo = New-Object System.Diagnostics.ProcessStartInfo $pinfo.FileName = "c:\temp\test_param2.exe" $pinfo.RedirectStandardError = $true $pinfo.RedirectStandardOutput = $true $pinfo.UseSh...
by xmerlin
Thu May 12, 2022 2:34 am
Forum: PowerShell
Topic: Error handling calling a converted script to exe from a script specifying a wrong named parameter
Replies: 4
Views: 2392

Re: Error handling calling a converted script to exe from a script specifying a wrong named parameter

I recently found this as a possible solution: build exe setting = command line using this statement: $res = cmd /c 'c:\temp\test_param2.exe -SearchNonDefaultRootDirs2 True -DirectoryNamesOnly2 True 2>&1' Both output and errors now come in variable $res But the issue with this is now how to disti...
by xmerlin
Thu May 12, 2022 1:36 am
Forum: PowerShell
Topic: Error handling calling a converted script to exe from a script specifying a wrong named parameter
Replies: 4
Views: 2392

Error handling calling a converted script to exe from a script specifying a wrong named parameter

Failing capture of the error "A parameter cannot be found that matches parameter name ..." in the caller when calling a converted script to exe It does however work with the same caller script when the called script is NOT converted to an exe capture error works with calling a script likew...
by xmerlin
Mon Sep 11, 2017 12:14 am
Forum: Installation Issues
Topic: install powershell studio pop ups a dialog for cancellation, when answering no the install stops (install does not even
Replies: 10
Views: 8624

Re: install powershell studio pop ups a dialog for cancellation, when answering no the install stops (install does not e

I was able to install using SPS17Setup_5.4.143_080217_x64.exe but when trying to unlock i get build not covered by your subscription. I thought the version we had would continue to work once the licence expired but updates would no longer be possible. Any chance of making the previous version work a...
by xmerlin
Sun Sep 10, 2017 11:40 pm
Forum: Installation Issues
Topic: install powershell studio pop ups a dialog for cancellation, when answering no the install stops (install does not even
Replies: 10
Views: 8624

Re: install powershell studio pop ups a dialog for cancellation, when answering no the install stops (install does not e

Winver shows this: Version 1607 (OS Build 14393.1670). This is .net 4.6.2 ... which 64bit install exe should work with this version?
by xmerlin
Sun Sep 10, 2017 10:19 pm
Forum: Installation Issues
Topic: install powershell studio pop ups a dialog for cancellation, when answering no the install stops (install does not even
Replies: 10
Views: 8624

Re: install powershell studio pop ups a dialog for cancellation, when answering no the install stops (install does not e

I have also upgraded my W10 machine and installation is also no longer working. Same screens as mentioned in the beginning of this thread. I include also my log. My W10 version and hotfixes installed is listed in OS.txt (attached)
by xmerlin
Thu Sep 07, 2017 12:40 am
Forum: Installation Issues
Topic: install powershell studio pop ups a dialog for cancellation, when answering no the install stops (install does not even
Replies: 10
Views: 8624

install powershell studio pop ups a dialog for cancellation, when answering no the install stops (install does not even

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: SPS17Setup_5.4.139...