Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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, ...
Besugo's user avatar
  • 31
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'...
Besugo's user avatar
  • 31
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 ...
Leon Smith's user avatar
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 ...
Jim's user avatar
  • 909
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 ...
Mullaly's user avatar
  • 320
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 ...
Nick's user avatar
  • 189
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 ...
Joep's user avatar
  • 39
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. ...
DarkLite1's user avatar
  • 14.8k
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 (...
Voo's user avatar
  • 30.4k
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"...
JMK's user avatar
  • 28.2k
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 ...
Jeevan's user avatar
  • 8,802