All Questions
Tagged with powershell remote-debugging
11 questions
1
vote
0
answers
93
views
How to debug powershell scripts on a NAS in a remote session in VS Code?
I want to debug scripts on a NAS while they're running on a remote machine in VS Code. I'm actually able to do this but I have to open the script twice: I have all the scripts already open in VS Code, ...
1
vote
2
answers
200
views
can't execute executable files in remote session of Powershell
I have some scripts on a NAS and I'm trying to launch some installers stored on that NAS on a remote PC. I have my PC where I launch a remote PSsession in VS Code and with administrative credentials I'...
0
votes
0
answers
337
views
Remote session terminated when running Powershell script at 'Start-Process'
I'm attempting to run a Powershell script that calls the Start-Process function in order to begin installing some monitoring software. I'm attempting to run it via a remote shell session I entered ...
0
votes
2
answers
4k
views
Couldn't use Get-WinEvent from remote computer in VLAN
The remote computer are Win-10 VM in a VLAN.
We only have a few ports open in VLAN, including 3389 for Remote Desktop, 5985 & 5986 for powershell.
Remote Desktop works well.
But I couldn't to ...
1
vote
1
answer
700
views
Visual studio cannot connect to windows IoT raspberry pi
I am using Windows Insider Build 14342 windows 10 OS. Trying to connect to raspberry pi 3. I have installed the Iot Core in Raspberry and I can connect to the device using putty and powershell. The ...
2
votes
2
answers
9k
views
Using "Invoke-Command" to run a local file on a remote machine
I am trying to use powershell to run a bat script that is located on Computer A and execute it on Computer B
Computer A is the computer calling the Invoke Command function
I am trying to do this via
...
2
votes
3
answers
114k
views
Get list of installed software of remote computer
Is it possible to get a list of installed software of a remote computer ?
I know to do this for a local computer with use of Powershell. Is it possible with Powershell to get installed software of a ...
5
votes
1
answer
7k
views
PowerShell Debug Invoke-Command
I'm trying to find an easy way to peak inside the ScriptBlock of Invoke-Command. I've read the Hey Scripting Guy blog but they only invoke script files and I'm a bit confused at how this can be done.
...
3
votes
3
answers
6k
views
JDWP syntax error when using Powershell
Windows 7 x64 and the newest java version (didn't work any better with u21 though)
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (...
1
vote
1
answer
604
views
Why won't this code run remotely on x64 based Windows machines
I have a piece of C# code which I am using to remotely register a *.tlb file in C#. I am deploying it using PsExec (Powershell) with the following command:
.\PsExec.exe \\* -u "username" -p "password"...
1
vote
1
answer
1k
views
Access denied exception when trying to execute an exe on remote machine
I am trying to execute an exe on machine B from machine A. I have logged on to machine A as userx and trying to run the exe on machine B as usery.
usery is system admin on machine A as well as B.
i ...