Using The Windows Winrm Remote Management Function - Sony Vision Exchange PEQ-C100 System Integration & Services Manual

Collaboration system
Hide thumbs Also See for Vision Exchange PEQ-C100:
Table of Contents

Advertisement

Action: Select [Start a program].
Start a program: Enter the following:
[Program/script]: C:\Windows\System32\shutdown.exe
[Add arguments]: /r /f /c "Restart" -t 0
2.
In the Windows firewall settings, allow communication in [Remote Scheduled Tasks
Management (RPC)] and [Remote Scheduled Tasks Management (RPC-EPMAP)].
Management server or PC
Run the following command.
1.
Launch Command Prompt.
2.
Run the following command in the Command Prompt window.
Example:
Specify username and password for Vision Exchange with xx.xx.xx.xx IP address.
Specify the name of the task created in Vision Exchange in taskname.
schtasks /Run /S xx.xx.xx.xx /U username /P password /TN taskname

Using the Windows WinRM remote management function

This method remotely runs a Power Shell reboot script using the Windows WinRM remote
management function from a management server or PC.
Main Unit and Pods
1.
In the Windows firewall settings, allow communication on TCP port 5985 for Windows
Remote Management (HTTP inbound).
2.
Launch Power Shell as an administrator.
3.
Run the following command in the Power Shell window.
net start WinRM
Management server or PC
1.
Launch Power Shell as an administrator.
2.
Run the following command in the Power Shell window.
net start WinRM
Run the following two commands in the Power Shell window.
Example:
Specify the Vision Exchange with xx.xx.xx.xx IP address.
Set-Item WSMan:\localhost\Client\TrustedHosts -Value xx.xx.xx.xx
Set-ExecutionPolicy RemoteSigned
3.
Create a Power Shell script file (.ps1 file name extension) with the following content.
(Enter everything on the line starting with "$credential" on one line without line breaks)
Example:
For "ExecRS.ps1" file name:
92

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vision exchange peq-c130

Table of Contents