Search found 59 matches

by mar10c--
Wed Feb 01, 2023 5:58 am
Forum: Former and Future Customers - Questions
Topic: PS Studio 2022 and ssh behavior not ideal
Replies: 15
Views: 9603

Re: PS Studio 2022 and ssh behavior not ideal

We can go ahead close this. changing my code from (Get-NetIPAddress | Where-Object { $_.AddressState -eq "Preferred" -and $_.PrefixOrigin -eq "Manual"}).IPAddress or ((Test-Connection $env:computername -Count 1).ipv4address).ipaddresstostring to ((ipconfig | findstr [0-9].\.)[0])...
by mar10c--
Mon Jan 09, 2023 4:45 am
Forum: Former and Future Customers - Questions
Topic: PS Studio 2022 and ssh behavior not ideal
Replies: 15
Views: 9603

Re: PS Studio 2022 and ssh behavior not ideal

There is some information missing here. You say you are using PowerShell 7. Exactly which version? Are you using the same PowerShell 7 version With SPS 2019 and SPS 2022? You state that this does not happen in PowerShell Studio 2019. When was that? In 2019 or, say, last month? That is an important ...
by mar10c--
Sat Jan 07, 2023 8:43 am
Forum: Former and Future Customers - Questions
Topic: PS Studio 2022 and ssh behavior not ideal
Replies: 15
Views: 9603

Re: PS Studio 2022 and ssh behavior not ideal

Just to clarify, the cmd prompt does not open when you run in a PowerShell Console? Can you please provide a screenshot of what you are seeing when you run in a console? Also, by 'buttons don't work', do you mean your form does not work? The command prompt does not open when run in a Powershell Con...
by mar10c--
Thu Dec 29, 2022 6:41 am
Forum: Former and Future Customers - Questions
Topic: NET Calls not working on PS Studio
Replies: 10
Views: 5019

Re: NET Calls not working on PS Studio

I am thinking about upgrading to Studio 5.8.213 but it had issues with SSH cmd prompt showing. Someone is looking into it but would be nice if that could be expedited here is the link to the post : viewtopic.php?t=16135
by mar10c--
Wed Dec 28, 2022 10:22 am
Forum: Former and Future Customers - Questions
Topic: NET Calls not working on PS Studio
Replies: 10
Views: 5019

Re: NET Calls not working on PS Studio

This is an isolated network no firewalls in between. Can you try SendPingAsync
(New-Object Net.NetworkInformation.Ping).SendPingAsync($IPAddr, 10000)
by mar10c--
Tue Dec 27, 2022 12:16 pm
Forum: Former and Future Customers - Questions
Topic: NET Calls not working on PS Studio
Replies: 10
Views: 5019

Re: NET Calls not working on PS Studio

It is strange how this works on Win 11 Windows Powershell IDE 5.x. What PS Studio version are you testing on?
by mar10c--
Mon Dec 26, 2022 8:41 am
Forum: Former and Future Customers - Questions
Topic: NET Calls not working on PS Studio
Replies: 10
Views: 5019

Re: NET Calls not working on PS Studio

In my test V7 works whether STA or not. It does not work on V5 STA or not.
by mar10c--
Sun Dec 25, 2022 6:26 am
Forum: Former and Future Customers - Questions
Topic: NET Calls not working on PS Studio
Replies: 10
Views: 5019

NET Calls not working on PS Studio

Product, version and build: PS Studio 2022 Trial Version and PS Studio 2019 Operating system: Win 11 PowerShell version(s): 5.x.x 32-bit version of software? 64 Code below runs on Windows Powershell IDE but not on PS Studio 2022 or PS Studio 2019. $res is stucked "Loading value". $comp = <...
by mar10c--
Thu Dec 22, 2022 4:38 pm
Forum: Former and Future Customers - Questions
Topic: PS Studio 2022 and ssh behavior not ideal
Replies: 15
Views: 9603

Re: PS Studio 2022 and ssh behavior not ideal

brittneyr wrote: Thu Dec 22, 2022 5:55 am Does a cmd prompt open when you run outside of PowerShell Studio in a PowerShell Console?
Running the form in Console invokes the form but none of the buttons to execute specific commands would work.
by mar10c--
Thu Dec 22, 2022 4:21 pm
Forum: Former and Future Customers - Questions
Topic: PS Studio 2022 and ssh behavior not ideal
Replies: 15
Views: 9603

Re: PS Studio 2022 and ssh behavior not ideal

$session = New-PSSession -ComputerName $remotecomputer -Credential $credentials would work because it is using WinRM. However, $session = New-PSSession -HostName $remotecomputer is used for SSH. -HostName instead of -ComputerName and -Credential is not required since the Public key is loaded on the ...