...
To do so, open a command line window (cmd.exe) as an Administrator and use the following command:
c:\Charon>powershell -command "Set-ExecutionPolicy Unrestricted" |
The ExecutionPolicy can also be set to "RemoteSigned
". In this case the .ps1
script files will have to be unblocked as described below.
If you are still prompted to allow for execution of the script, please run the following command to unblock the downloaded charon_cleanshutdown.ps1
file:
c:\Charon>powershell -command "Unblock-File -path c:\charon\ |
See Powershell version, upgrade, enabling scripts execution, tips and tricks.
...
Mode | Description | Requirements | Notes | ||||||
---|---|---|---|---|---|---|---|---|---|
telnet | Telnet to the guest operating system using credentials stored in an encrypted clixml file. | This mode requires the Windows telnet client to be installed. This can be done using the following command:
|
| ||||||
expect | Simulates an interactive connection to the console of the CHARON instance and performs the necessary actions. |
|
| ||||||
rsh | Executes a remote command on the guest operating system (TCP/IP is required). On Tru64 the .rhosts file must be configured and on OpenVMS the rexec/rsh services must have been enabled and a proxy must have been created. | The 'rsh.exe ' file is included in the kit. Copy it to a folder of your choice ("C:\Bin " or "C:\Charon " for example). |
| ||||||
ssh | Executes a remote command on the guest operating system over a secure connection (TCP/IP is required). | Download and install OpenSSH from this site (the https://sourceforgegithub.netcom/projectsPowerShell/sshwindows/) Win32-OpenSSH/releases web site or preferably the version attached to this document. The installation is menu driven, use the default options. |
|
...