...
The kit contains the following files:
File | Description |
---|---|
charon_cleanshutdown.ps1 | PowerShell main script |
rsh.exe | Used if 'rsh' mode is selected |
template.ini | Used to facilitate the creation of a customized configuration file for the CHARON instance |
psexec.exe | Downloaded from Microsoft Sysinternals and used in case of integration to Windows shutdown |
...
Depending on the guest operating system running on the CHARON instance, the following commands are executed to perform a clean shutdown:
Tru64 |
|
---|---|
OpenVMS |
|
...
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.
...
Please select the method that is best suited to your configuration:
Mode | Description | Requirements | Notes |
---|---|---|---|
opa0 | Connection to the OPA0 console via telnet on the specified port using PowerShell internal functions | The ' No requirement if Tru64 is used. |
|
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 ' The Charon Windows server and the emulated operating system must be able to communicate via TCPIP. The ' No requirement if Tru64 is used. |
|
ssh | Executes a remote command on the guest operating system over a secure connection (TCP/IP is required). | Download and install OpenSSH from the https://github.com/PowerShell/Win32-OpenSSH/releases web site or preferably the version attached to this document. As a user with Administrator privileges, extract the package to The Charon Windows server and the emulated operating system must be able to communicate via TCPIP. The ' No requirement if Tru64 is used. |
|
...