Questions tagged [winrs]

WinRS is the Windows Remote Shell, a system administration tool that allows remote shell access.

Useful links:

  1. WinRS on technet.
  2. WinRS on SS64 help pages.
22 questions
0
votes
0 answers

batch script stops after winrs command

@(setlocal enableextensions enabledelayedexpansion echo off set "Node1=Node1" set "Node2=Node2" set "Node3=Node3" set "Cluster=Cluster1" set LOGFILE=C:\BatchLog.log ) CALL:Main >> %LOGFILE% 2>&1 ( ENDLOCAL CALL :END …
C1ark05
  • 5
  • 3
0
votes
1 answer

java.io.IOException: Unexpected EOF When Jenkins slave tries an SVN checkout

I am trying to setup a Jenkins slave on a separate Windows 10 machine. The master runs on windows 8.1. slave.jar is being executed with a command on the master. I do this using winrs: winrs -r:192.168.xxx.xxx -u:MyUserName -p:MyPassword java -jar…
Jupiter
  • 1,421
  • 2
  • 12
  • 31
0
votes
0 answers

Copy-Item over remote network path using WinRS throws UnauthorisedAccessException

$_sourcepath = '\\servername\DriveLetter$\folder\file.zip' $_destinationPath = 'D:\Temp\file.zip' Copy-Item -Path $_sourcepath -Destination $_destinationPath; My PowerShell script is run using WinRS in MSBuilds. It throws…
Deepanshu Kalra
  • 419
  • 2
  • 9
  • 23
0
votes
1 answer

execute/invoke a local ps1 file using winrm

i had this issue for days now. Done and researched everything pertaining to executing a powershell script on your local machine using winrm. My goal is to execute these ps1 scripts from my local to a target remote machine. winrm is already…
Jeff
  • 760
  • 1
  • 12
  • 26
0
votes
1 answer

Changing property 'windowsConfiguration.winRM.listeners' is not allowed

I am trying to add the WinRs support using the publically available ARM Template I get the following error Changing property 'windowsConfiguration.winRM.listeners' is not allowed Then I tried using the powershell script mentioned in this…
0
votes
2 answers

Set the window title of a CMD/WINRS prompt

I'm creating some PowerShell code to open a command prompt on a remote machine. This works fine but I can't seem to find a way to set the title of that window, so you can see that you're connected to the remote client. $ComputerName =…
DarkLite1
  • 13,637
  • 40
  • 117
  • 214
0
votes
3 answers

Calling WinRS when using a password with spaces

I'm trying to call WinRS for some of our automated scripts. I've run into an issue when attempting to pass a password with spaces for the -p argument. For example, winrs http://server:5985 -p:my password -u:user dir fails with the…
user949286
  • 1,259
  • 1
  • 13
  • 22
1
2