darkoperator / darkoperator/Posh-SSH

Can we execute an command in our remote server using Posh-SSH ?

Open
#487 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
1.1k
Forks
222
PR merge metrics
No merged PRs in 30d

Description

Question: Can we execute an command in our remote server using Posh-SSH ? Since, I already have it's Session id. I am not sure if this is possible.

Context: After uploading the files on the server, I wanted to restart a service on my remote server.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by reading the Posh-SSH documentation for running commands through an existing session ID, then verify the workflow after file upload. Done means documenting whether remote service restart commands are supported and showing the relevant usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli, infrastructure
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.