Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Test for PDF export. Replacing tables with code block macro

...

The kit contains the following files:

FileDescription
charon_cleanshutdown.ps1PowerShell main script
rsh.exeUsed if 'rsh' mode is selected
template.iniUsed to facilitate the creation of a customized configuration file for the CHARON instance
psexec.exeTaken from Microsoft Sysinternals and used in case of integration to Windows shutdown

Shutdown command

Depending on the guest operating system running on the CHARON instance, the following commands are executed to perform a clean shutdown:

Tru64

/sbin/init 0

OpenVMS

@SYS$MANAGER:CHARON_SHUTDOWN.COM

Requirements

PowerShell V5.1 or newer version is required.

...

To do so, open a command line window (cmd.exe) as an Administrator and use the following command:


Code Block
languagepowershell
c:\

...

Charon>powershell -command "Set-ExecutionPolicy Unrestricted"

(info) 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:

Code Block
languagepowershell
c:\Charon>powershell -command "Unblock-File -path c:\charon\charon_cleanshutdown.ps1"

TEST TEST TEST

c:\Charon>powershell -command "Unblock-File -path c:\charon\charon_cleanshutdown.ps1"

...